Differences From Artifact [9240091586]:
- File
src/platform/3DS/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: 3502) [annotate] [blame] [check-ins using]
- File src/platform/Nintendo3DS/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: 3502) [annotate] [blame] [check-ins using]
To Artifact [5edf21e397]:
- File
src/platform/Nintendo3DS/OFGameController.m
— part of check-in
[498a91a2a4]
at
2024-05-05 19:56:47
on branch gamecontroller
— OFGameController: Rename axis to analog stick
This was just wrong, an analog stick has two axes. (user: js, size: 3517) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
122 123 124 125 126 127 128 | [pressedButtons addObject: @"C-Stick Down"]; [pressedButtons makeImmutable]; return pressedButtons; } | | | | 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | [pressedButtons addObject: @"C-Stick Down"]; [pressedButtons makeImmutable]; return pressedButtons; } - (size_t)numAnalogSticks { return 1; } - (OFPoint)positionOfAnalogStickWithIndex: (size_t)index { circlePosition pos; if (index > 0) @throw [OFOutOfRangeException exception]; hidCircleRead(&pos); |
︙ | ︙ |