34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#ifdef OF_NINTENDO_DS
# import "OHNintendoDSGameController.h"
#endif
#ifdef OF_NINTENDO_3DS
# import "OHNintendo3DSGameController.h"
#endif
@implementation OHGameController
@dynamic name, rawProfile;
+ (OFArray OF_GENERIC(OHGameController *) *)controllers
{
#if defined(OF_LINUX) && defined(OF_HAVE_FILES)
return [OHEvdevGameController controllers];
|
>
>
>
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#ifdef OF_NINTENDO_DS
# import "OHNintendoDSGameController.h"
#endif
#ifdef OF_NINTENDO_3DS
# import "OHNintendo3DSGameController.h"
#endif
const uint16_t OHVendorIDSony = 0x054C;
const uint16_t OHProductIDDualSense = 0x0CE6;
@implementation OHGameController
@dynamic name, rawProfile;
+ (OFArray OF_GENERIC(OHGameController *) *)controllers
{
#if defined(OF_LINUX) && defined(OF_HAVE_FILES)
return [OHEvdevGameController controllers];
|