60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# include "platform/NintendoDS/OFGameController.m"
#elif defined(OF_NINTENDO_3DS)
# include "platform/Nintendo3DS/OFGameController.m"
#else
@implementation OFGameController
@dynamic name, buttons, pressedButtons, hasLeftAnalogStick;
@dynamic leftAnalogStickPosition, hasRightAnalogStick, rightAnalogStickPosition;
+ (OFArray OF_GENERIC(OFGameController *) *)controllers
{
return [OFArray array];
}
- (instancetype)init
|
>
|
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# include "platform/NintendoDS/OFGameController.m"
#elif defined(OF_NINTENDO_3DS)
# include "platform/Nintendo3DS/OFGameController.m"
#else
@implementation OFGameController
@dynamic name, buttons, pressedButtons, hasLeftAnalogStick;
@dynamic leftAnalogStickPosition, hasRightAnalogStick, rightAnalogStickPosition;
@dynamic northButton, southButton, westButton, eastButton;
+ (OFArray OF_GENERIC(OFGameController *) *)controllers
{
return [OFArray array];
}
- (instancetype)init
|