aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/Keybinds.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/Keybinds.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/Keybinds.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/Keybinds.java b/src/main/java/kr/syeyoung/dungeonsguide/Keybinds.java
new file mode 100644
index 00000000..17d0ccaa
--- /dev/null
+++ b/src/main/java/kr/syeyoung/dungeonsguide/Keybinds.java
@@ -0,0 +1,17 @@
+package kr.syeyoung.dungeonsguide;
+
+import net.minecraft.client.settings.KeyBinding;
+import net.minecraftforge.fml.client.registry.ClientRegistry;
+import org.lwjgl.input.Keyboard;
+
+public class Keybinds
+{
+ public static KeyBinding opengui;
+
+ public static void register()
+ {
+ opengui = new KeyBinding("ay", Keyboard.KEY_R, "key.categories.misc");
+
+ ClientRegistry.registerKeyBinding(opengui);
+ }
+}