123456789101112131415161718192021222324252627282930313233 |
- .. _func_input_joyhat:
- ======
- JoyHat
- ======
- JoyHat -
- Description
- ===========
- .. code-block:: blitzmax
- JoyHat#( port=0 )
- Reports the position of the joystick's HAT controller if supported.
- Parameters
- ==========
- Return Values
- =============
- -1.0 if the joystick is centered, and values between 0.0, 0.25, 0.5 and 0.75 for the directions Up, Right, Down, Left respectively.
- Examples
- ========
- See Also
- ========
|