23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
@interface OFEvdevGameController: OFGameController
{
OFString *_path;
int _fd;
uint16_t _vendorID, _productID;
OFString *_name;
OFMutableSet *_buttons, *_pressedButtons;
bool _hasLeftAnalogStick, _hasRightAnalogStick;
bool _hasLeftTriggerPressure, _hasRightTriggerPressure;
unsigned int _leftTriggerPressureBit, _rightTriggerPressureBit;
OFPoint _leftAnalogStickPosition, _rightAnalogStickPosition;
float _leftTriggerPressure, _rightTriggerPressure;
int32_t _leftAnalogStickMinX, _leftAnalogStickMaxX;
int32_t _leftAnalogStickMinY, _leftAnalogStickMaxY;
|
>
|
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
@interface OFEvdevGameController: OFGameController
{
OFString *_path;
int _fd;
uint16_t _vendorID, _productID;
OFString *_name;
OFMutableSet OF_GENERIC(OFGameControllerButton) *_buttons;
OFMutableSet OF_GENERIC(OFGameControllerButton) *_pressedButtons;
bool _hasLeftAnalogStick, _hasRightAnalogStick;
bool _hasLeftTriggerPressure, _hasRightTriggerPressure;
unsigned int _leftTriggerPressureBit, _rightTriggerPressureBit;
OFPoint _leftAnalogStickPosition, _rightAnalogStickPosition;
float _leftTriggerPressure, _rightTriggerPressure;
int32_t _leftAnalogStickMinX, _leftAnalogStickMaxX;
int32_t _leftAnalogStickMinY, _leftAnalogStickMaxY;
|