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