21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
OF_ASSUME_NONNULL_BEGIN
@interface OFXInputGameController: OFGameController
{
DWORD _index;
OFNumber *_Nullable _vendorID, *_Nullable productID;
OFMutableSet *_pressedButtons;
OFPoint _leftAnalogStickPosition, _rightAnalogStickPosition;
float _leftTriggerPressure, _rightTriggerPressure;
}
- (instancetype)of_initWithIndex: (DWORD)index OF_METHOD_FAMILY(init);
@end
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
OF_ASSUME_NONNULL_BEGIN
@interface OFXInputGameController: OFGameController
{
DWORD _index;
OFNumber *_Nullable _vendorID, *_Nullable productID;
OFMutableSet OF_GENERIC(OFGameControllerButton) *_pressedButtons;
OFPoint _leftAnalogStickPosition, _rightAnalogStickPosition;
float _leftTriggerPressure, _rightTriggerPressure;
}
- (instancetype)of_initWithIndex: (DWORD)index OF_METHOD_FAMILY(init);
@end
|