Annotation Interface InputJoystickDirection


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface InputJoystickDirection
Annotates a field that sets if a joystick axis is moved into a discrete direction. The joystick axis only enters the "centered" state if it hits the device deadzone. Expects to write to a JoystickDirectionType 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
     
  • Element Details