Class Controller.Type

java.lang.Object
net.java.games.input.Controller.Type
Enclosing interface:
Controller

public static class Controller.Type extends Object
Types of controller objects.
  • Field Details

    • UNKNOWN

      public static final Controller.Type UNKNOWN
      Unkown controller type.
    • MOUSE

      public static final Controller.Type MOUSE
      Mouse controller.
    • KEYBOARD

      public static final Controller.Type KEYBOARD
      A keyboard controller
    • FINGERSTICK

      public static final Controller.Type FINGERSTICK
      Fingerstick controller; note that this may be sometimes treated as a type of mouse or stick.
    • GAMEPAD

      public static final Controller.Type GAMEPAD
      Gamepad controller.
    • HEADTRACKER

      public static final Controller.Type HEADTRACKER
      Headtracker controller.
    • RUDDER

      public static final Controller.Type RUDDER
      Rudder controller.
    • STICK

      public static final Controller.Type STICK
      Stick controller, such as a joystick or flightstick.
    • TRACKBALL

      public static final Controller.Type TRACKBALL
      A trackball controller; note that this may sometimes be treated as a type of mouse.
    • TRACKPAD

      public static final Controller.Type TRACKPAD
      A trackpad, such as a tablet, touchpad, or glidepad; note that this may sometimes be treated as a type of mouse.
    • WHEEL

      public static final Controller.Type WHEEL
      A wheel controller, such as a steering wheel (note that a mouse wheel is considered part of a mouse, not a wheel controller).
  • Constructor Details

    • Type

      protected Type(String name)
      Protected constructor
  • Method Details

    • toString

      public String toString()
      Returns a non-localized string description of this controller type.
      Overrides:
      toString in class Object