Colobot
|
Additional data for joystick axis event. More...
#include <event.h>
Public Member Functions | |
std::unique_ptr< EventData > | Clone () const override |
Public Attributes | |
unsigned char | axis = 0 |
The joystick axis index. More... | |
int | value = 0 |
The axis value (range: -32768 to 32767) More... | |
Additional data for joystick axis event.
unsigned char JoyAxisEventData::axis = 0 |
The joystick axis index.
int JoyAxisEventData::value = 0 |
The axis value (range: -32768 to 32767)