20 #import "OHGameController.h" 21 #import "OHGameControllerProfile.h" 23 OF_ASSUME_NONNULL_BEGIN
34 bool _discardUntilReport;
35 unsigned long *_evBits, *_keyBits, *_absBits;
36 uint16_t _vendorID, _productID;
38 id <OHGameControllerProfile, OHEvdevMapping> _profile;
41 - (instancetype)initWithPath: (
OFString *)path;
45 extern const uint16_t OHEvdevButtonIDs[];
46 extern const size_t OHNumEvdevButtonIDs;
47 extern const uint16_t OHEvdevAxisIDs[];
48 extern const size_t OHNumEvdevAxisIDs;
A class for reading state from a game controller.
Definition: OHGameController.h:46
The root class for all other classes inside ObjFW.
Definition: OFObject.h:690
An axis of a game controller.
Definition: OHGameControllerAxis.h:29
A class for handling strings.
Definition: OFString.h:142