Differences From 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]
To Artifact [49ccebbc34]:
- File src/hid/OFGameController.m — part of check-in [cb4c3d09f4] at 2024-05-20 15:53:41 on branch gamecontroller — OFGameController: No symbols for custom buttons (user: js, size: 4420) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
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"; @implementation OFGameController @dynamic name, buttons, pressedButtons, hasLeftAnalogStick; @dynamic leftAnalogStickPosition, hasRightAnalogStick, rightAnalogStickPosition; + (OFArray OF_GENERIC(OFGameController *) *)controllers { |
︙ | ︙ |