20#import "OHGameControllerElement.h"
21#ifdef OBJFWHID_LOCAL_INCLUDES
24# if defined(__has_feature) && __has_feature(modules)
27# import <ObjFW/OFNotification.h>
30#import "OHGameControllerAxis.h"
31#import "OHGameControllerButton.h"
33OF_ASSUME_NONNULL_BEGIN
41OF_SUBCLASSING_RESTRICTED
47 OHGameControllerDirectionalPadTypeAxes = 1,
48 OHGameControllerDirectionalPadTypeButtons = 2
90 OHGameControllerDirectionalPadValueDidChangeNotification;
OFConstantString * OFNotificationName
A name for a notification.
Definition OFNotification.h:32
An axis of a game controller.
Definition OHGameControllerAxis.h:40
A directional pad or thumb stick of a game controller.
Definition OHGameControllerDirectionalPad.h:43
OHGameControllerButton * down
The down button of the directional pad.
Definition OHGameControllerDirectionalPad.h:70
OHGameControllerAxis * yAxis
The Y axis of the directional pad.
Definition OHGameControllerDirectionalPad.h:60
OHGameControllerButton * left
The left button of the directional pad.
Definition OHGameControllerDirectionalPad.h:75
OHGameControllerButton * up
The up button of the directional pad.
Definition OHGameControllerDirectionalPad.h:65
OHGameControllerAxis * xAxis
The X axis of the directional pad.
Definition OHGameControllerDirectionalPad.h:55
OHGameControllerButton * right
The right button of the directional pad.
Definition OHGameControllerDirectionalPad.h:80
An element of a game controller, e.g. a button, an axis or a directional pad.
Definition OHGameControllerElement.h:41