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
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
-
+
-
+
-
-
-
-
-
-
-
-
|
#import "OHGameController.h"
#include <windows.h>
OF_ASSUME_NONNULL_BEGIN
@class OHXInputExtendedGamepad;
@class OHXbox360Gamepad;
@interface OHXInputGameController: OHGameController
{
DWORD _index;
OFNumber *_Nullable _vendorID, *_Nullable _productID;
OHXInputExtendedGamepad *_extendedGamepad;
OHXbox360Gamepad *_extendedGamepad;
}
- (instancetype)initWithIndex: (DWORD)index;
@end
#ifdef __cplusplus
extern "C" {
#endif
extern int OHXInputVersion;
#ifdef __cplusplus
}
#endif
OF_ASSUME_NONNULL_END
|