Annotation Interface OnJoystickHatAction


@Retention(RUNTIME) @Target(METHOD) public @interface OnJoystickHatAction
Annotates a field that calls a method if a joystick hat is moved. Expects to call a method that takes an integer and a JoystickHatType parameter; an error will be thrown if this is not the case.

The integer is the hat index and the JoystickHatType is the new position.

Author:
Matthew Tropiano