Module sfml::window::joystick
[−]
[src]
Handle Joysticks
Offers a set of function for manage joystick
Enums
Axis |
Axes supported by SFML joysticks |
Constants
AXIS_COUNT |
Maximum number of supported axes. |
BUTTON_COUNT |
Maximum number of supported buttons. |
COUNT |
Maximum number of supported joysticks. |
Functions
button_count |
Return the number of buttons supported by a joystick |
get_axis_position |
Get the current position on a given Axis, on a given joystick. |
has_axis |
Check if the joystick support a given Axis |
is_button_pressed |
Check if the button is pressed on a given joystick. |
is_connected |
Check if the joystick is connected |
update |
Update the states of all joysticks |