Annotation Interface InputJoystickHat


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface InputJoystickHat
Annotates a field that sets if a joystick hat is in a position or not. Expects to write to a JoystickHatType value; an error will be thrown if this is not the case.

Public fields or methods that are "setters" can be annotated with this.

Author:
Matthew Tropiano
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Element Details

    • value

      int value
      Returns:
      the hat index.