Package com.mojang.blaze3d.platform
Class InputConstants
java.lang.Object
com.mojang.blaze3d.platform.InputConstants
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
private static final int
private static final MethodHandle
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final InputConstants.Key
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputConstants.Key
getKey
(int p_84828_, int p_84829_) static InputConstants.Key
static void
grabOrReleaseMouse
(long p_84834_, int p_84835_, double p_84836_, double p_84837_) static boolean
isKeyDown
(long p_84831_, int p_84832_) static boolean
static void
setupKeyboardCallbacks
(long p_84845_, org.lwjgl.glfw.GLFWKeyCallbackI p_84846_, org.lwjgl.glfw.GLFWCharModsCallbackI p_84847_) static void
setupMouseCallbacks
(long p_84839_, org.lwjgl.glfw.GLFWCursorPosCallbackI p_84840_, org.lwjgl.glfw.GLFWMouseButtonCallbackI p_84841_, org.lwjgl.glfw.GLFWScrollCallbackI p_84842_, org.lwjgl.glfw.GLFWDropCallbackI p_84843_) static void
updateRawMouseInput
(long p_84849_, boolean p_84850_)
-
Field Details
-
GLFW_RAW_MOUSE_MOTION_SUPPORTED
-
GLFW_RAW_MOUSE_MOTION
private static final int GLFW_RAW_MOUSE_MOTION -
KEY_0
public static final int KEY_0- See Also:
-
KEY_1
public static final int KEY_1- See Also:
-
KEY_2
public static final int KEY_2- See Also:
-
KEY_3
public static final int KEY_3- See Also:
-
KEY_4
public static final int KEY_4- See Also:
-
KEY_5
public static final int KEY_5- See Also:
-
KEY_6
public static final int KEY_6- See Also:
-
KEY_7
public static final int KEY_7- See Also:
-
KEY_8
public static final int KEY_8- See Also:
-
KEY_9
public static final int KEY_9- See Also:
-
KEY_A
public static final int KEY_A- See Also:
-
KEY_B
public static final int KEY_B- See Also:
-
KEY_C
public static final int KEY_C- See Also:
-
KEY_D
public static final int KEY_D- See Also:
-
KEY_E
public static final int KEY_E- See Also:
-
KEY_F
public static final int KEY_F- See Also:
-
KEY_G
public static final int KEY_G- See Also:
-
KEY_H
public static final int KEY_H- See Also:
-
KEY_I
public static final int KEY_I- See Also:
-
KEY_J
public static final int KEY_J- See Also:
-
KEY_K
public static final int KEY_K- See Also:
-
KEY_L
public static final int KEY_L- See Also:
-
KEY_M
public static final int KEY_M- See Also:
-
KEY_N
public static final int KEY_N- See Also:
-
KEY_O
public static final int KEY_O- See Also:
-
KEY_P
public static final int KEY_P- See Also:
-
KEY_Q
public static final int KEY_Q- See Also:
-
KEY_R
public static final int KEY_R- See Also:
-
KEY_S
public static final int KEY_S- See Also:
-
KEY_T
public static final int KEY_T- See Also:
-
KEY_U
public static final int KEY_U- See Also:
-
KEY_V
public static final int KEY_V- See Also:
-
KEY_W
public static final int KEY_W- See Also:
-
KEY_X
public static final int KEY_X- See Also:
-
KEY_Y
public static final int KEY_Y- See Also:
-
KEY_Z
public static final int KEY_Z- See Also:
-
KEY_F1
public static final int KEY_F1- See Also:
-
KEY_F2
public static final int KEY_F2- See Also:
-
KEY_F3
public static final int KEY_F3- See Also:
-
KEY_F4
public static final int KEY_F4- See Also:
-
KEY_F5
public static final int KEY_F5- See Also:
-
KEY_F6
public static final int KEY_F6- See Also:
-
KEY_F7
public static final int KEY_F7- See Also:
-
KEY_F8
public static final int KEY_F8- See Also:
-
KEY_F9
public static final int KEY_F9- See Also:
-
KEY_F10
public static final int KEY_F10- See Also:
-
KEY_F11
public static final int KEY_F11- See Also:
-
KEY_F12
public static final int KEY_F12- See Also:
-
KEY_F13
public static final int KEY_F13- See Also:
-
KEY_F14
public static final int KEY_F14- See Also:
-
KEY_F15
public static final int KEY_F15- See Also:
-
KEY_F16
public static final int KEY_F16- See Also:
-
KEY_F17
public static final int KEY_F17- See Also:
-
KEY_F18
public static final int KEY_F18- See Also:
-
KEY_F19
public static final int KEY_F19- See Also:
-
KEY_F20
public static final int KEY_F20- See Also:
-
KEY_F21
public static final int KEY_F21- See Also:
-
KEY_F22
public static final int KEY_F22- See Also:
-
KEY_F23
public static final int KEY_F23- See Also:
-
KEY_F24
public static final int KEY_F24- See Also:
-
KEY_F25
public static final int KEY_F25- See Also:
-
KEY_NUMLOCK
public static final int KEY_NUMLOCK- See Also:
-
KEY_NUMPAD0
public static final int KEY_NUMPAD0- See Also:
-
KEY_NUMPAD1
public static final int KEY_NUMPAD1- See Also:
-
KEY_NUMPAD2
public static final int KEY_NUMPAD2- See Also:
-
KEY_NUMPAD3
public static final int KEY_NUMPAD3- See Also:
-
KEY_NUMPAD4
public static final int KEY_NUMPAD4- See Also:
-
KEY_NUMPAD5
public static final int KEY_NUMPAD5- See Also:
-
KEY_NUMPAD6
public static final int KEY_NUMPAD6- See Also:
-
KEY_NUMPAD7
public static final int KEY_NUMPAD7- See Also:
-
KEY_NUMPAD8
public static final int KEY_NUMPAD8- See Also:
-
KEY_NUMPAD9
public static final int KEY_NUMPAD9- See Also:
-
KEY_NUMPADCOMMA
public static final int KEY_NUMPADCOMMA- See Also:
-
KEY_NUMPADENTER
public static final int KEY_NUMPADENTER- See Also:
-
KEY_NUMPADEQUALS
public static final int KEY_NUMPADEQUALS- See Also:
-
KEY_DOWN
public static final int KEY_DOWN- See Also:
-
KEY_LEFT
public static final int KEY_LEFT- See Also:
-
KEY_RIGHT
public static final int KEY_RIGHT- See Also:
-
KEY_UP
public static final int KEY_UP- See Also:
-
KEY_ADD
public static final int KEY_ADD- See Also:
-
KEY_APOSTROPHE
public static final int KEY_APOSTROPHE- See Also:
-
KEY_BACKSLASH
public static final int KEY_BACKSLASH- See Also:
-
KEY_COMMA
public static final int KEY_COMMA- See Also:
-
KEY_EQUALS
public static final int KEY_EQUALS- See Also:
-
KEY_GRAVE
public static final int KEY_GRAVE- See Also:
-
KEY_LBRACKET
public static final int KEY_LBRACKET- See Also:
-
KEY_MINUS
public static final int KEY_MINUS- See Also:
-
KEY_MULTIPLY
public static final int KEY_MULTIPLY- See Also:
-
KEY_PERIOD
public static final int KEY_PERIOD- See Also:
-
KEY_RBRACKET
public static final int KEY_RBRACKET- See Also:
-
KEY_SEMICOLON
public static final int KEY_SEMICOLON- See Also:
-
KEY_SLASH
public static final int KEY_SLASH- See Also:
-
KEY_SPACE
public static final int KEY_SPACE- See Also:
-
KEY_TAB
public static final int KEY_TAB- See Also:
-
KEY_LALT
public static final int KEY_LALT- See Also:
-
KEY_LCONTROL
public static final int KEY_LCONTROL- See Also:
-
KEY_LSHIFT
public static final int KEY_LSHIFT- See Also:
-
KEY_LWIN
public static final int KEY_LWIN- See Also:
-
KEY_RALT
public static final int KEY_RALT- See Also:
-
KEY_RCONTROL
public static final int KEY_RCONTROL- See Also:
-
KEY_RSHIFT
public static final int KEY_RSHIFT- See Also:
-
KEY_RWIN
public static final int KEY_RWIN- See Also:
-
KEY_RETURN
public static final int KEY_RETURN- See Also:
-
KEY_ESCAPE
public static final int KEY_ESCAPE- See Also:
-
KEY_BACKSPACE
public static final int KEY_BACKSPACE- See Also:
-
KEY_DELETE
public static final int KEY_DELETE- See Also:
-
KEY_END
public static final int KEY_END- See Also:
-
KEY_HOME
public static final int KEY_HOME- See Also:
-
KEY_INSERT
public static final int KEY_INSERT- See Also:
-
KEY_PAGEDOWN
public static final int KEY_PAGEDOWN- See Also:
-
KEY_PAGEUP
public static final int KEY_PAGEUP- See Also:
-
KEY_CAPSLOCK
public static final int KEY_CAPSLOCK- See Also:
-
KEY_PAUSE
public static final int KEY_PAUSE- See Also:
-
KEY_SCROLLLOCK
public static final int KEY_SCROLLLOCK- See Also:
-
KEY_PRINTSCREEN
public static final int KEY_PRINTSCREEN- See Also:
-
PRESS
public static final int PRESS- See Also:
-
RELEASE
public static final int RELEASE- See Also:
-
REPEAT
public static final int REPEAT- See Also:
-
MOUSE_BUTTON_LEFT
public static final int MOUSE_BUTTON_LEFT- See Also:
-
MOUSE_BUTTON_MIDDLE
public static final int MOUSE_BUTTON_MIDDLE- See Also:
-
MOUSE_BUTTON_RIGHT
public static final int MOUSE_BUTTON_RIGHT- See Also:
-
MOD_CONTROL
public static final int MOD_CONTROL- See Also:
-
CURSOR
public static final int CURSOR- See Also:
-
CURSOR_DISABLED
public static final int CURSOR_DISABLED- See Also:
-
CURSOR_NORMAL
public static final int CURSOR_NORMAL- See Also:
-
UNKNOWN
-
-
Constructor Details
-
InputConstants
public InputConstants()
-
-
Method Details
-
getKey
-
getKey
-
isKeyDown
public static boolean isKeyDown(long p_84831_, int p_84832_) -
setupKeyboardCallbacks
public static void setupKeyboardCallbacks(long p_84845_, org.lwjgl.glfw.GLFWKeyCallbackI p_84846_, org.lwjgl.glfw.GLFWCharModsCallbackI p_84847_) -
setupMouseCallbacks
public static void setupMouseCallbacks(long p_84839_, org.lwjgl.glfw.GLFWCursorPosCallbackI p_84840_, org.lwjgl.glfw.GLFWMouseButtonCallbackI p_84841_, org.lwjgl.glfw.GLFWScrollCallbackI p_84842_, org.lwjgl.glfw.GLFWDropCallbackI p_84843_) -
grabOrReleaseMouse
public static void grabOrReleaseMouse(long p_84834_, int p_84835_, double p_84836_, double p_84837_) -
isRawMouseInputSupported
public static boolean isRawMouseInputSupported() -
updateRawMouseInput
public static void updateRawMouseInput(long p_84849_, boolean p_84850_)
-