diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-11 17:54:19 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-11 17:54:19 +0200 |
commit | b239915ac1e4b2b51b42d2c2fe163dffcdd7ae4f (patch) | |
tree | 8a1d31cb79da3a1626596f70e014b395b45b6178 /src/main/java/cc/polyfrost/oneconfig/test | |
parent | 333b4099972260d0e348ec20f8a00a430471aac8 (diff) | |
download | OneConfig-b239915ac1e4b2b51b42d2c2fe163dffcdd7ae4f.tar.gz OneConfig-b239915ac1e4b2b51b42d2c2fe163dffcdd7ae4f.tar.bz2 OneConfig-b239915ac1e4b2b51b42d2c2fe163dffcdd7ae4f.zip |
keybinds
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/test')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java b/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java index d314354..439c51d 100644 --- a/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java +++ b/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java @@ -2,6 +2,7 @@ package cc.polyfrost.oneconfig.test; import cc.polyfrost.oneconfig.config.annotations.ConfigPage; import cc.polyfrost.oneconfig.config.annotations.Option; +import cc.polyfrost.oneconfig.config.core.OneKeyBind; import cc.polyfrost.oneconfig.config.data.*; import cc.polyfrost.oneconfig.config.interfaces.Config; import cc.polyfrost.oneconfig.lwjgl.OneColor; @@ -19,6 +20,21 @@ public class TestConfig extends Config { public static boolean ignored; @Option( + name = "Keybind (1x)", + subcategory = "Test", + type = OptionType.KEYBIND + ) + public static OneKeyBind oneKeyBind = new OneKeyBind( 18, 80); + + @Option( + name = "Keybind (2x)", + subcategory = "Test", + type = OptionType.KEYBIND, + size = 2 + ) + public static OneKeyBind oneKeyBind2 = new OneKeyBind(27, 80); + + @Option( name = "Crash game", subcategory = "Test", type = OptionType.BUTTON, |