Package net.minecraft.client.util
Class InputMappings
java.lang.Object
net.minecraft.client.util.InputMappings
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final MethodHandle
static final InputMappings.Input
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputMappings.Input
getKey
(int p_197954_0_, int p_197954_1_) static InputMappings.Input
static void
grabOrReleaseMouse
(long p_216504_0_, int p_216504_2_, double p_216504_3_, double p_216504_5_) static boolean
isKeyDown
(long p_216506_0_, int p_216506_2_) static boolean
static void
setupKeyboardCallbacks
(long p_216505_0_, org.lwjgl.glfw.GLFWKeyCallbackI p_216505_2_, org.lwjgl.glfw.GLFWCharModsCallbackI p_216505_3_) static void
setupMouseCallbacks
(long p_216503_0_, org.lwjgl.glfw.GLFWCursorPosCallbackI p_216503_2_, org.lwjgl.glfw.GLFWMouseButtonCallbackI p_216503_3_, org.lwjgl.glfw.GLFWScrollCallbackI p_216503_4_, org.lwjgl.glfw.GLFWDropCallbackI p_216503_5_) static void
updateRawMouseInput
(long p_224791_0_, boolean p_224791_2_)
-
Field Details
-
glfwRawMouseMotionSupported
-
GLFW_RAW_MOUSE_MOTION
private static final int GLFW_RAW_MOUSE_MOTION -
UNKNOWN
-
-
Constructor Details
-
InputMappings
public InputMappings()
-
-
Method Details
-
getKey
-
getKey
-
isKeyDown
public static boolean isKeyDown(long p_216506_0_, int p_216506_2_) -
setupKeyboardCallbacks
public static void setupKeyboardCallbacks(long p_216505_0_, org.lwjgl.glfw.GLFWKeyCallbackI p_216505_2_, org.lwjgl.glfw.GLFWCharModsCallbackI p_216505_3_) -
setupMouseCallbacks
public static void setupMouseCallbacks(long p_216503_0_, org.lwjgl.glfw.GLFWCursorPosCallbackI p_216503_2_, org.lwjgl.glfw.GLFWMouseButtonCallbackI p_216503_3_, org.lwjgl.glfw.GLFWScrollCallbackI p_216503_4_, org.lwjgl.glfw.GLFWDropCallbackI p_216503_5_) -
grabOrReleaseMouse
public static void grabOrReleaseMouse(long p_216504_0_, int p_216504_2_, double p_216504_3_, double p_216504_5_) -
isRawMouseInputSupported
public static boolean isRawMouseInputSupported() -
updateRawMouseInput
public static void updateRawMouseInput(long p_224791_0_, boolean p_224791_2_)
-