|
Colobot
|
Information about a joystick device. More...
#include <src/app/app.h>
Public Attributes | |
| int | index |
| Device index (-1 = invalid device) | |
| std::string | name |
| Device name. | |
| int | axisCount |
| Number of axes (only available after joystick opened) | |
| int | buttonCount |
| Number of buttons (only available after joystick opened) | |
Information about a joystick device.
| int JoystickDevice::index |
Device index (-1 = invalid device)
| std::string JoystickDevice::name |
Device name.
| int JoystickDevice::axisCount |
Number of axes (only available after joystick opened)
| int JoystickDevice::buttonCount |
Number of buttons (only available after joystick opened)