Class InputNameProvider

java.lang.Object
dev.boze.api.input.InputNameProvider

public final class InputNameProvider extends Object
Input Name Provider, used to get the name of a key or button
  • Constructor Details

    • InputNameProvider

      public InputNameProvider()
  • Method Details

    • getBindName

      public static String getBindName(Bind bind)
      Get the name of a bind
      Parameters:
      bind -
      Returns:
      the name of the bind
    • getKeyName

      public static String getKeyName(int key)
      Get the name of a (keyboard) key
      Parameters:
      key -
      Returns:
      the name of the key
    • getButtonName

      public static String getButtonName(int button)
      Get the name of a (mouse) button
      Parameters:
      button -
      Returns:
      the name of the button