diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/keybindings/FirmamentKeyBindings.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/keybindings/FirmamentKeyBindings.kt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/keybindings/FirmamentKeyBindings.kt b/src/main/kotlin/moe/nea/firmament/keybindings/FirmamentKeyBindings.kt new file mode 100644 index 0000000..0f945d5 --- /dev/null +++ b/src/main/kotlin/moe/nea/firmament/keybindings/FirmamentKeyBindings.kt @@ -0,0 +1,17 @@ +package moe.nea.firmament.keybindings + +import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper +import org.lwjgl.glfw.GLFW +import net.minecraft.client.option.KeyBinding +import net.minecraft.client.util.InputUtil + +object FirmamentKeyBindings { + val SLOT_LOCKING = KeyBindingHelper.registerKeyBinding( + KeyBinding( + "firmament.key.slotlocking", + InputUtil.Type.KEYSYM, + GLFW.GLFW_KEY_L, + "firmament.key.category" + ) + ) +} |