Class InputMappings


  • public class InputMappings
    extends java.lang.Object
    • Field Detail

      • glfwRawMouseMotionSupported

        @Nullable
        private static final java.lang.invoke.MethodHandle glfwRawMouseMotionSupported
      • GLFW_RAW_MOUSE_MOTION

        private static final int GLFW_RAW_MOUSE_MOTION
    • Constructor Detail

      • InputMappings

        public InputMappings()
    • Method Detail

      • 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_)