Differences From Artifact [31e4b70394]:
- File src/OFGameController.m — part of check-in [1da303e600] at 2024-05-11 10:19:32 on branch gamecontroller — OFGameController: Add quirks for Joycons (user: js, size: 3635) [annotate] [blame] [check-ins using]
To Artifact [c4bdc74964]:
- File src/OFGameController.m — part of check-in [59b45e87d1] at 2024-05-11 21:56:42 on branch gamecontroller — OFGameController: {north,south,west,east}Button (user: js, size: 3694) [annotate] [blame] [check-ins using]
- File src/hid/OFGameController.m — part of check-in [f5f12143ce] at 2024-05-13 20:57:34 on branch gamecontroller — Move OFGameController into subframework ObjFWHID (user: js, size: 3694) [annotate] [blame] [check-ins using]
︙ | |||
60 61 62 63 64 65 66 67 68 69 70 71 72 73 | 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 |
︙ |