37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#ifdef OF_LINUX
OFString *_path;
int _fd;
OFString *_name;
OFMutableSet *_buttons, *_pressedButtons;
bool _hasLeftAnalogStick, _hasRightAnalogStick;
OFPoint _leftAnalogStickPosition, _rightAnalogStickPosition;
#endif
}
#ifdef OF_HAVE_CLASS_PROPERTIES
@property (class, readonly, nonatomic)
OFArray <OFGameController *> *controllers;
#endif
|
>
>
>
>
|
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#ifdef OF_LINUX
OFString *_path;
int _fd;
OFString *_name;
OFMutableSet *_buttons, *_pressedButtons;
bool _hasLeftAnalogStick, _hasRightAnalogStick;
OFPoint _leftAnalogStickPosition, _rightAnalogStickPosition;
int32_t _leftAnalogStickMinX, _leftAnalogStickMaxX;
int32_t _leftAnalogStickMinY, _leftAnalogStickMaxY;
int32_t _rightAnalogStickMinX, _rightAnalogStickMaxX;
int32_t _rightAnalogStickMinY, _rightAnalogStickMaxY;
#endif
}
#ifdef OF_HAVE_CLASS_PROPERTIES
@property (class, readonly, nonatomic)
OFArray <OFGameController *> *controllers;
#endif
|