Annotation Interface OnJoystickButtonAction


@Retention(RUNTIME) @Target(METHOD) public @interface OnJoystickButtonAction
Annotates a field that calls a method if a joystick button is pressed or released. Expects to call a method that takes both a JoystickButtonType and a boolean parameter; an error will be thrown if this is not the case.

The JoystickButtonType is the button the action happened on, and the boolean is true on press and false on release.

Author:
Matthew Tropiano