Package com.mojang.blaze3d.platform
Class InputConstants
java.lang.Object
com.mojang.blaze3d.platform.InputConstants
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
static int
static int
private static int
private static MethodHandle
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static 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:
- Constant Field Values
-
KEY_1
public static final int KEY_1- See Also:
- Constant Field Values
-
KEY_2
public static final int KEY_2- See Also:
- Constant Field Values
-
KEY_3
public static final int KEY_3- See Also:
- Constant Field Values
-
KEY_4
public static final int KEY_4- See Also:
- Constant Field Values
-
KEY_5
public static final int KEY_5- See Also:
- Constant Field Values
-
KEY_6
public static final int KEY_6- See Also:
- Constant Field Values
-
KEY_7
public static final int KEY_7- See Also:
- Constant Field Values
-
KEY_8
public static final int KEY_8- See Also:
- Constant Field Values
-
KEY_9
public static final int KEY_9- See Also:
- Constant Field Values
-
KEY_A
public static final int KEY_A- See Also:
- Constant Field Values
-
KEY_B
public static final int KEY_B- See Also:
- Constant Field Values
-
KEY_C
public static final int KEY_C- See Also:
- Constant Field Values
-
KEY_D
public static final int KEY_D- See Also:
- Constant Field Values
-
KEY_E
public static final int KEY_E- See Also:
- Constant Field Values
-
KEY_F
public static final int KEY_F- See Also:
- Constant Field Values
-
KEY_G
public static final int KEY_G- See Also:
- Constant Field Values
-
KEY_H
public static final int KEY_H- See Also:
- Constant Field Values
-
KEY_I
public static final int KEY_I- See Also:
- Constant Field Values
-
KEY_J
public static final int KEY_J- See Also:
- Constant Field Values
-
KEY_K
public static final int KEY_K- See Also:
- Constant Field Values
-
KEY_L
public static final int KEY_L- See Also:
- Constant Field Values
-
KEY_M
public static final int KEY_M- See Also:
- Constant Field Values
-
KEY_N
public static final int KEY_N- See Also:
- Constant Field Values
-
KEY_O
public static final int KEY_O- See Also:
- Constant Field Values
-
KEY_P
public static final int KEY_P- See Also:
- Constant Field Values
-
KEY_Q
public static final int KEY_Q- See Also:
- Constant Field Values
-
KEY_R
public static final int KEY_R- See Also:
- Constant Field Values
-
KEY_S
public static final int KEY_S- See Also:
- Constant Field Values
-
KEY_T
public static final int KEY_T- See Also:
- Constant Field Values
-
KEY_U
public static final int KEY_U- See Also:
- Constant Field Values
-
KEY_V
public static final int KEY_V- See Also:
- Constant Field Values
-
KEY_W
public static final int KEY_W- See Also:
- Constant Field Values
-
KEY_X
public static final int KEY_X- See Also:
- Constant Field Values
-
KEY_Y
public static final int KEY_Y- See Also:
- Constant Field Values
-
KEY_Z
public static final int KEY_Z- See Also:
- Constant Field Values
-
KEY_F1
public static final int KEY_F1- See Also:
- Constant Field Values
-
KEY_F2
public static final int KEY_F2- See Also:
- Constant Field Values
-
KEY_F3
public static final int KEY_F3- See Also:
- Constant Field Values
-
KEY_F4
public static final int KEY_F4- See Also:
- Constant Field Values
-
KEY_F5
public static final int KEY_F5- See Also:
- Constant Field Values
-
KEY_F6
public static final int KEY_F6- See Also:
- Constant Field Values
-
KEY_F7
public static final int KEY_F7- See Also:
- Constant Field Values
-
KEY_F8
public static final int KEY_F8- See Also:
- Constant Field Values
-
KEY_F9
public static final int KEY_F9- See Also:
- Constant Field Values
-
KEY_F10
public static final int KEY_F10- See Also:
- Constant Field Values
-
KEY_F11
public static final int KEY_F11- See Also:
- Constant Field Values
-
KEY_F12
public static final int KEY_F12- See Also:
- Constant Field Values
-
KEY_F13
public static final int KEY_F13- See Also:
- Constant Field Values
-
KEY_F14
public static final int KEY_F14- See Also:
- Constant Field Values
-
KEY_F15
public static final int KEY_F15- See Also:
- Constant Field Values
-
KEY_F16
public static final int KEY_F16- See Also:
- Constant Field Values
-
KEY_F17
public static final int KEY_F17- See Also:
- Constant Field Values
-
KEY_F18
public static final int KEY_F18- See Also:
- Constant Field Values
-
KEY_F19
public static final int KEY_F19- See Also:
- Constant Field Values
-
KEY_F20
public static final int KEY_F20- See Also:
- Constant Field Values
-
KEY_F21
public static final int KEY_F21- See Also:
- Constant Field Values
-
KEY_F22
public static final int KEY_F22- See Also:
- Constant Field Values
-
KEY_F23
public static final int KEY_F23- See Also:
- Constant Field Values
-
KEY_F24
public static final int KEY_F24- See Also:
- Constant Field Values
-
KEY_F25
public static final int KEY_F25- See Also:
- Constant Field Values
-
KEY_NUMLOCK
public static final int KEY_NUMLOCK- See Also:
- Constant Field Values
-
KEY_NUMPAD0
public static final int KEY_NUMPAD0- See Also:
- Constant Field Values
-
KEY_NUMPAD1
public static final int KEY_NUMPAD1- See Also:
- Constant Field Values
-
KEY_NUMPAD2
public static final int KEY_NUMPAD2- See Also:
- Constant Field Values
-
KEY_NUMPAD3
public static final int KEY_NUMPAD3- See Also:
- Constant Field Values
-
KEY_NUMPAD4
public static final int KEY_NUMPAD4- See Also:
- Constant Field Values
-
KEY_NUMPAD5
public static final int KEY_NUMPAD5- See Also:
- Constant Field Values
-
KEY_NUMPAD6
public static final int KEY_NUMPAD6- See Also:
- Constant Field Values
-
KEY_NUMPAD7
public static final int KEY_NUMPAD7- See Also:
- Constant Field Values
-
KEY_NUMPAD8
public static final int KEY_NUMPAD8- See Also:
- Constant Field Values
-
KEY_NUMPAD9
public static final int KEY_NUMPAD9- See Also:
- Constant Field Values
-
KEY_NUMPADCOMMA
public static final int KEY_NUMPADCOMMA- See Also:
- Constant Field Values
-
KEY_NUMPADENTER
public static final int KEY_NUMPADENTER- See Also:
- Constant Field Values
-
KEY_NUMPADEQUALS
public static final int KEY_NUMPADEQUALS- See Also:
- Constant Field Values
-
KEY_DOWN
public static final int KEY_DOWN- See Also:
- Constant Field Values
-
KEY_LEFT
public static final int KEY_LEFT- See Also:
- Constant Field Values
-
KEY_RIGHT
public static final int KEY_RIGHT- See Also:
- Constant Field Values
-
KEY_UP
public static final int KEY_UP- See Also:
- Constant Field Values
-
KEY_ADD
public static final int KEY_ADD- See Also:
- Constant Field Values
-
KEY_APOSTROPHE
public static final int KEY_APOSTROPHE- See Also:
- Constant Field Values
-
KEY_BACKSLASH
public static final int KEY_BACKSLASH- See Also:
- Constant Field Values
-
KEY_COMMA
public static final int KEY_COMMA- See Also:
- Constant Field Values
-
KEY_EQUALS
public static final int KEY_EQUALS- See Also:
- Constant Field Values
-
KEY_GRAVE
public static final int KEY_GRAVE- See Also:
- Constant Field Values
-
KEY_LBRACKET
public static final int KEY_LBRACKET- See Also:
- Constant Field Values
-
KEY_MINUS
public static final int KEY_MINUS- See Also:
- Constant Field Values
-
KEY_MULTIPLY
public static final int KEY_MULTIPLY- See Also:
- Constant Field Values
-
KEY_PERIOD
public static final int KEY_PERIOD- See Also:
- Constant Field Values
-
KEY_RBRACKET
public static final int KEY_RBRACKET- See Also:
- Constant Field Values
-
KEY_SEMICOLON
public static final int KEY_SEMICOLON- See Also:
- Constant Field Values
-
KEY_SLASH
public static final int KEY_SLASH- See Also:
- Constant Field Values
-
KEY_SPACE
public static final int KEY_SPACE- See Also:
- Constant Field Values
-
KEY_TAB
public static final int KEY_TAB- See Also:
- Constant Field Values
-
KEY_LALT
public static final int KEY_LALT- See Also:
- Constant Field Values
-
KEY_LCONTROL
public static final int KEY_LCONTROL- See Also:
- Constant Field Values
-
KEY_LSHIFT
public static final int KEY_LSHIFT- See Also:
- Constant Field Values
-
KEY_LWIN
public static final int KEY_LWIN- See Also:
- Constant Field Values
-
KEY_RALT
public static final int KEY_RALT- See Also:
- Constant Field Values
-
KEY_RCONTROL
public static final int KEY_RCONTROL- See Also:
- Constant Field Values
-
KEY_RSHIFT
public static final int KEY_RSHIFT- See Also:
- Constant Field Values
-
KEY_RWIN
public static final int KEY_RWIN- See Also:
- Constant Field Values
-
KEY_RETURN
public static final int KEY_RETURN- See Also:
- Constant Field Values
-
KEY_ESCAPE
public static final int KEY_ESCAPE- See Also:
- Constant Field Values
-
KEY_BACKSPACE
public static final int KEY_BACKSPACE- See Also:
- Constant Field Values
-
KEY_DELETE
public static final int KEY_DELETE- See Also:
- Constant Field Values
-
KEY_END
public static final int KEY_END- See Also:
- Constant Field Values
-
KEY_HOME
public static final int KEY_HOME- See Also:
- Constant Field Values
-
KEY_INSERT
public static final int KEY_INSERT- See Also:
- Constant Field Values
-
KEY_PAGEDOWN
public static final int KEY_PAGEDOWN- See Also:
- Constant Field Values
-
KEY_PAGEUP
public static final int KEY_PAGEUP- See Also:
- Constant Field Values
-
KEY_CAPSLOCK
public static final int KEY_CAPSLOCK- See Also:
- Constant Field Values
-
KEY_PAUSE
public static final int KEY_PAUSE- See Also:
- Constant Field Values
-
KEY_SCROLLLOCK
public static final int KEY_SCROLLLOCK- See Also:
- Constant Field Values
-
KEY_PRINTSCREEN
public static final int KEY_PRINTSCREEN- See Also:
- Constant Field Values
-
PRESS
public static final int PRESS- See Also:
- Constant Field Values
-
RELEASE
public static final int RELEASE- See Also:
- Constant Field Values
-
REPEAT
public static final int REPEAT- See Also:
- Constant Field Values
-
MOUSE_BUTTON_LEFT
public static final int MOUSE_BUTTON_LEFT- See Also:
- Constant Field Values
-
MOUSE_BUTTON_MIDDLE
public static final int MOUSE_BUTTON_MIDDLE- See Also:
- Constant Field Values
-
MOUSE_BUTTON_RIGHT
public static final int MOUSE_BUTTON_RIGHT- See Also:
- Constant Field Values
-
MOD_CONTROL
public static final int MOD_CONTROL- See Also:
- Constant Field Values
-
CURSOR
public static final int CURSOR- See Also:
- Constant Field Values
-
CURSOR_DISABLED
public static final int CURSOR_DISABLED- See Also:
- Constant Field Values
-
CURSOR_NORMAL
public static final int CURSOR_NORMAL- See Also:
- Constant Field Values
-
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_)
-