aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/keybindings/FirmamentKeyBindings.kt
blob: a7f25c0f0d098687fcc4906e86e92df2cfb18d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

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"
        )
    )
}