ObjFW  Diff

Differences From Artifact [0b68019678]:

  • File src/hid/OHGCFGameControllerProfile.h — part of check-in [9d802a786d] at 2025-01-01 12:58:18 on branch trunk — Update copyright (user: js size: 1802)

To Artifact [8a5c074d4f]:

  • File src/hid/OHGCFGameControllerProfile.h — part of check-in [7c82a8015d] at 2025-01-04 04:35:39 on branch trunk — ObjFWHID: Refactor GCF support (user: js size: 1643) [more...]

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
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 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<OFString *, NSString *> *_buttonsMap;
	OFDictionary<OFString *, NSString *> *_axesMap;
	OFDictionary<NSString *, OHGameControllerDirectionalPad *>
	    *_directionalPadsMap;
	OFDictionary<OFString *, NSString *> *_directionalPadsMap;
}

- (instancetype)init OF_UNAVAILABLE;
- (instancetype)oh_initWithLiveInput: (GCControllerLiveInput *)liveInput
    OF_METHOD_FAMILY(init);
@end