Package com.jme3.input.lwjgl
Class GlfwKeyMap
java.lang.Object
com.jme3.input.lwjgl.GlfwKeyMap
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
fromJmeKeyCode
(int jmeKey) Returns the glfw keycode that matches the specified jme keycode or GLFW_KEY_UNKNOWN if there isn't any match.static int
toJmeKeyCode
(int glfwKey) Returns the jme keycode that matches the specified glfw keycode
-
Method Details
-
toJmeKeyCode
public static int toJmeKeyCode(int glfwKey) Returns the jme keycode that matches the specified glfw keycode- Parameters:
glfwKey
- the glfw keycode
-
fromJmeKeyCode
public static int fromJmeKeyCode(int jmeKey) Returns the glfw keycode that matches the specified jme keycode or GLFW_KEY_UNKNOWN if there isn't any match.- Parameters:
jmeKey
- the jme keycode
-