Differences From Artifact [6850544fb5]:
- File src/hid/OFGameController.m — part of check-in [918c9d077a] at 2024-05-20 01:17:43 on branch gamecontroller — OFGameController: Add support for Wii (user: js, size: 5295) [annotate] [blame] [check-ins using]
To Artifact [4c858784ed]:
- File
src/hid/OFGameController.m
— part of check-in
[a0af8f40b8]
at
2024-05-20 15:48:03
on branch gamecontroller
— OFGameController: Clean up buttons a bit
This also emulates a right analog stick using the C buttons on the N64
controller. (user: js, size: 4623) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
58 59 60 61 62 63 64 | const OFGameControllerButton OFGameControllerDPadDownButton = @"D-Pad Down"; const OFGameControllerButton OFGameControllerDPadLeftButton = @"D-Pad Left"; const OFGameControllerButton OFGameControllerDPadRightButton = @"D-Pad Right"; const OFGameControllerButton OFGameControllerStartButton = @"Start"; const OFGameControllerButton OFGameControllerSelectButton = @"Select"; const OFGameControllerButton OFGameControllerHomeButton = @"Home"; const OFGameControllerButton OFGameControllerCaptureButton = @"Capture"; | < < < < < < < < < < | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | const OFGameControllerButton OFGameControllerDPadDownButton = @"D-Pad Down"; const OFGameControllerButton OFGameControllerDPadLeftButton = @"D-Pad Left"; const OFGameControllerButton OFGameControllerDPadRightButton = @"D-Pad Right"; const OFGameControllerButton OFGameControllerStartButton = @"Start"; const OFGameControllerButton OFGameControllerSelectButton = @"Select"; const OFGameControllerButton OFGameControllerHomeButton = @"Home"; const OFGameControllerButton OFGameControllerCaptureButton = @"Capture"; const OFGameControllerButton OFGameControllerSLButton = @"SL"; const OFGameControllerButton OFGameControllerSRButton = @"SR"; const OFGameControllerButton OFGameControllerAssistantButton = @"Assistant"; @implementation OFGameController @dynamic name, buttons, pressedButtons, hasLeftAnalogStick; @dynamic leftAnalogStickPosition, hasRightAnalogStick, rightAnalogStickPosition; |
︙ | ︙ |