20 #ifdef OBJFWHID_LOCAL_INCLUDES
24 # if defined(__has_feature) && __has_feature(modules)
27 # import <ObjFW/OFObject.h>
28 # import <ObjFW/OFString.h>
32 OF_ASSUME_NONNULL_BEGIN
50 @property (readonly, nonatomic)
OFString *name;
55 @property (readonly, nonatomic, getter=isAnalog)
bool analog;
57 - (instancetype)init OF_UNAVAILABLE;
59 - (instancetype)initWithName: (
OFString *)name
60 analog: (
bool)analog OF_DESIGNATED_INITIALIZER;
The root class for all other classes inside ObjFW.
Definition: OFObject.h:692
A class for handling strings.
Definition: OFString.h:143
An element of a game controller, e.g. a button, an axis or a directional pad.
Definition: OHGameControllerElement.h:41