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
|
#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,
OHGCFMapping>
{
OFDictionary<OFString *, OHGameControllerButton *> *_buttons;
OFDictionary<OFString *, OHGameControllerAxis *> *_axes;
OFDictionary<OFString *, OHGameControllerDirectionalPad *>
*_directionalPads;
OFDictionary<NSString *, OHGameControllerButton *> *_buttonsMap;
OFDictionary<NSString *, OHGameControllerAxis *> *_axesMap;
OFDictionary<NSString *, OHGameControllerDirectionalPad *>
*_directionalPadsMap;
}
- (instancetype)init OF_UNAVAILABLE;
- (instancetype)oh_initWithLiveInput: (GCControllerLiveInput *)liveInput
OF_METHOD_FAMILY(init);
@end
|
<
<
<
|
|
<
|
|
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
|
#import <GameController/GameController.h>
#import "OHGameControllerProfile.h"
#import "OHGCFGameController.h"
OF_ASSUME_NONNULL_BEGIN
@class GCControllerLiveInput;
__attribute__((__availability__(macOS, introduced=14.0)))
__attribute__((__availability__(iOS, introduced=17.0)))
@interface OHGCFGameControllerProfile: OFObject <OHGameControllerProfile,
OHGCFMapping>
{
OFDictionary<OFString *, OHGameControllerButton *> *_buttons;
OFDictionary<OFString *, OHGameControllerAxis *> *_axes;
OFDictionary<OFString *, OHGameControllerDirectionalPad *>
*_directionalPads;
OFDictionary<OFString *, NSString *> *_buttonsMap;
OFDictionary<OFString *, NSString *> *_axesMap;
OFDictionary<OFString *, NSString *> *_directionalPadsMap;
}
- (instancetype)init OF_UNAVAILABLE;
- (instancetype)oh_initWithLiveInput: (GCControllerLiveInput *)liveInput
OF_METHOD_FAMILY(init);
@end
|