18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
+
-
+
+
-
-
-
-
-
-
-
|
*/
#include "config.h"
#import <GameController/GameController.h>
#import "OHGameControllerProfile.h"
#import "OHGCFGameController.h"
OF_ASSUME_NONNULL_BEGIN
@class OHGameControllerElement;
@class GCControllerInputState;
@class GCControllerLiveInput;
@protocol GCGameControllerPhysicalElement;
__attribute__((__availability__(macOS, introduced=14.0)))
__attribute__((__availability__(iOS, introduced=17.0)))
@interface OHGCFGameControllerProfile: OFObject <OHGameControllerProfile>
@interface OHGCFGameControllerProfile: OFObject <OHGameControllerProfile,
OHGCFMapping>
{
OFDictionary<OFString *, OHGameControllerButton *> *_buttons;
OFDictionary<OFString *, OHGameControllerAxis *> *_axes;
OFDictionary<OFString *, OHGameControllerDirectionalPad *>
*_directionalPads;
OFDictionary<NSString *, OHGameControllerButton *> *_buttonMap;
OFDictionary<NSString *, OHGameControllerAxis *> *_axesMap;
OFDictionary<NSString *, OHGameControllerDirectionalPad *>
*_directionalPadsMap;
}
@property (readonly, nonatomic)
OFDictionary<NSString *, OHGameControllerButton *> *oh_buttonsMap;
@property (readonly, nonatomic)
OFDictionary<NSString *, OHGameControllerAxis *> *oh_axesMap;
@property (readonly, nonatomic) OFDictionary<NSString *,
OHGameControllerDirectionalPad *> *oh_directionalPadsMap;
- (instancetype)init OF_UNAVAILABLE;
- (instancetype)oh_initWithLiveInput: (GCControllerLiveInput *)liveInput
OF_METHOD_FAMILY(init);
@end
OF_ASSUME_NONNULL_END
|