func_input_joyaxiscaps.rst 658 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .. _func_input_joyaxiscaps:
  2. ===========
  3. JoyAxisCaps
  4. ===========
  5. JoyAxisCaps -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. JoyAxisCaps(port)
  10. Available axis (proportional controls) on a joystick.
  11. The bit positions of the returned value correspond to the following constants defined
  12. in the FreeJoy module:
  13. [ Const JOY_X=0
  14. * Const JOY_Y=1
  15. * Const JOY_Z=2
  16. * Const JOY_R=3
  17. * Const JOY_U=4
  18. * Const JOY_V=5
  19. * Const JOY_YAW=6
  20. * Const JOY_PITCH=7
  21. * Const JOY_ROLL=8
  22. * Const JOY_HAT=9
  23. * Const JOY_WHEEL=10
  24. ]
  25. Parameters
  26. ==========
  27. Return Values
  28. =============
  29. A bitfield representing which axis are available.
  30. Examples
  31. ========
  32. See Also
  33. ========