Class InputMappings

java.lang.Object
net.minecraft.client.util.InputMappings

public class InputMappings extends Object
  • Field Details

    • glfwRawMouseMotionSupported

      @Nullable private static final MethodHandle glfwRawMouseMotionSupported
    • GLFW_RAW_MOUSE_MOTION

      private static final int GLFW_RAW_MOUSE_MOTION
    • UNKNOWN

      public static final InputMappings.Input UNKNOWN
  • Constructor Details

    • InputMappings

      public InputMappings()
  • Method Details

    • getKey

      public static InputMappings.Input getKey(int p_197954_0_, int p_197954_1_)
    • getKey

      public static InputMappings.Input getKey(String p_197955_0_)
    • 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_)