Class GlfwKeyMap

java.lang.Object
com.jme3.input.lwjgl.GlfwKeyMap

public class GlfwKeyMap extends Object
  • 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