Class KeyMapper

java.lang.Object
de.tum.cit.ase.editor.input.KeyMapper

public class KeyMapper extends Object
The KeyMapper class is responsible for converting key codes based on the current layout. It provides a static method to convert a key using the current layout. The layout is determined based on the value of GLFW.GLFW_KEY_Y.
  • Field Details

  • Constructor Details

    • KeyMapper

      public KeyMapper()
  • Method Details

    • convertKey

      public static int convertKey(int key)
      Converts a key code based on the current layout.
      Parameters:
      key - the key code to be converted
      Returns:
      the converted key code