class_inputeventjoystickmotion.rst 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_InputEventJoystickMotion:
  4. InputEventJoystickMotion
  5. ========================
  6. **Category:** Built-In Types
  7. Brief Description
  8. -----------------
  9. Member Functions
  10. ----------------
  11. +--------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
  12. | :ref:`bool<class_bool>` | :ref:`is_action<class_InputEventJoystickMotion_is_action>` **(** :ref:`String<class_string>` action **)** |
  13. +--------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
  14. | :ref:`bool<class_bool>` | :ref:`is_action_pressed<class_InputEventJoystickMotion_is_action_pressed>` **(** :ref:`String<class_string>` is_action_pressed **)** |
  15. +--------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
  16. | :ref:`bool<class_bool>` | :ref:`is_action_released<class_InputEventJoystickMotion_is_action_released>` **(** :ref:`String<class_string>` is_action_released **)** |
  17. +--------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
  18. | :ref:`bool<class_bool>` | :ref:`is_echo<class_InputEventJoystickMotion_is_echo>` **(** **)** |
  19. +--------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
  20. | :ref:`bool<class_bool>` | :ref:`is_pressed<class_InputEventJoystickMotion_is_pressed>` **(** **)** |
  21. +--------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
  22. | void | :ref:`set_as_action<class_InputEventJoystickMotion_set_as_action>` **(** :ref:`String<class_string>` action, :ref:`bool<class_bool>` pressed **)** |
  23. +--------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
  24. Member Variables
  25. ----------------
  26. - :ref:`int<class_int>` **type**
  27. - :ref:`int<class_int>` **device**
  28. - :ref:`int<class_int>` **ID**
  29. - :ref:`int<class_int>` **axis**
  30. - :ref:`float<class_float>` **value**
  31. Numeric Constants
  32. -----------------
  33. - **NONE** = **0**
  34. - **KEY** = **1**
  35. - **MOUSE_MOTION** = **2**
  36. - **MOUSE_BUTTON** = **3**
  37. - **JOYSTICK_MOTION** = **4**
  38. - **JOYSTICK_BUTTON** = **5**
  39. - **SCREEN_TOUCH** = **6**
  40. - **SCREEN_DRAG** = **7**
  41. - **ACTION** = **8**
  42. Member Function Description
  43. ---------------------------
  44. .. _class_InputEventJoystickMotion_is_action:
  45. - :ref:`bool<class_bool>` **is_action** **(** :ref:`String<class_string>` action **)**
  46. .. _class_InputEventJoystickMotion_is_action_pressed:
  47. - :ref:`bool<class_bool>` **is_action_pressed** **(** :ref:`String<class_string>` is_action_pressed **)**
  48. .. _class_InputEventJoystickMotion_is_action_released:
  49. - :ref:`bool<class_bool>` **is_action_released** **(** :ref:`String<class_string>` is_action_released **)**
  50. .. _class_InputEventJoystickMotion_is_echo:
  51. - :ref:`bool<class_bool>` **is_echo** **(** **)**
  52. .. _class_InputEventJoystickMotion_is_pressed:
  53. - :ref:`bool<class_bool>` **is_pressed** **(** **)**
  54. .. _class_InputEventJoystickMotion_set_as_action:
  55. - void **set_as_action** **(** :ref:`String<class_string>` action, :ref:`bool<class_bool>` pressed **)**