Differences From Artifact [07a9f043f8]:
- File
src/OFGameController.m
— part of check-in
[a0f4283e81]
at
2024-05-05 18:59:50
on branch gamecontroller
— Add OFGameController
Only supports Nintendo 3DS so far. (user: js, size: 1256) [annotate] [blame] [check-ins using]
To Artifact [fafb3475e1]:
- File src/OFGameController.m — part of check-in [a7a6705d90] at 2024-05-05 19:22:25 on branch gamecontroller — OFGameController: Add support for Nintendo DS (user: js, size: 1350) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
19 20 21 22 23 24 25 | #include "config.h" #import "OFGameController.h" #import "OFOutOfRangeException.h" | > > | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #include "config.h" #import "OFGameController.h" #import "OFOutOfRangeException.h" #if defined(OF_NINTENDO_DS) # include "platform/NintendoDS/OFGameController.m" #elif defined(F_NINTENDO_3DS) # include "platform/Nintendo3DS/OFGameController.m" #else @implementation OFGameController @dynamic buttons, pressedButtons, numAxes; + (size_t)numControllers { return 0; |
︙ | ︙ |