public class InputMappings
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
InputMappings.Input |
static class |
InputMappings.Type |
Modifier and Type | Field and Description |
---|---|
private static int |
GLFW_RAW_MOUSE |
private static java.lang.invoke.MethodHandle |
GLFW_RAW_MOUSE_SUPPORTED |
static InputMappings.Input |
INPUT_INVALID |
Constructor and Description |
---|
InputMappings() |
Modifier and Type | Method and Description |
---|---|
static boolean |
func_224790_a() |
static InputMappings.Input |
getInputByCode(int keyCode,
int scanCode) |
static InputMappings.Input |
getInputByName(java.lang.String name) |
static java.lang.String |
getKeynameFromKeycode(int p_216507_0_) |
static java.lang.String |
getKeyNameFromScanCode(int p_216502_0_) |
static boolean |
isKeyDown(long p_216506_0_,
int p_216506_2_) |
static void |
setCursorPosAndMode(long p_216504_0_,
int p_216504_2_,
double p_216504_3_,
double p_216504_5_) |
static void |
setKeyCallbacks(long p_216505_0_,
org.lwjgl.glfw.GLFWKeyCallbackI p_216505_2_,
org.lwjgl.glfw.GLFWCharModsCallbackI p_216505_3_) |
static void |
setMouseCallbacks(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_) |
static void |
setRawMouseInput(long p_224791_0_,
boolean p_224791_2_) |
@Nullable private static final java.lang.invoke.MethodHandle GLFW_RAW_MOUSE_SUPPORTED
private static final int GLFW_RAW_MOUSE
public static final InputMappings.Input INPUT_INVALID
public static InputMappings.Input getInputByCode(int keyCode, int scanCode)
public static InputMappings.Input getInputByName(java.lang.String name)
public static boolean isKeyDown(long p_216506_0_, int p_216506_2_)
public static void setKeyCallbacks(long p_216505_0_, org.lwjgl.glfw.GLFWKeyCallbackI p_216505_2_, org.lwjgl.glfw.GLFWCharModsCallbackI p_216505_3_)
public static void setMouseCallbacks(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_)
public static void setCursorPosAndMode(long p_216504_0_, int p_216504_2_, double p_216504_3_, double p_216504_5_)
public static boolean func_224790_a()
public static void setRawMouseInput(long p_224791_0_, boolean p_224791_2_)
@Nullable public static java.lang.String getKeynameFromKeycode(int p_216507_0_)
@Nullable public static java.lang.String getKeyNameFromScanCode(int p_216502_0_)