Differences From Artifact [34e73fdaa7]:
- File src/hid/OHEvdevGameController.m — part of check-in [3d8deae83e] at 2024-06-08 22:40:25 on branch trunk — ObjFWHID: Add support for DualSense via evdev (user: js, size: 16425) [annotate] [blame] [check-ins using]
To Artifact [c2e9c0c45a]:
- File
src/hid/OHEvdevGameController.m
— part of check-in
[6b3b47c1f4]
at
2024-06-08 22:47:11
on branch trunk
— OHEvdevGameController: Default to Xbox buttons
The vast majority of controllers out there are Xbox 360-compatible
controllers, so let's use those button names by default. (user: js, size: 16414) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
127 128 129 130 131 132 133 | case BTN_X: return @"X"; case BTN_Y: return @"Y"; case BTN_Z: return @"Z"; case BTN_TL: | | | | | | | | | | 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | case BTN_X: return @"X"; case BTN_Y: return @"Y"; case BTN_Z: return @"Z"; case BTN_TL: return @"LB"; case BTN_TR: return @"RB"; case BTN_TL2: return @"LT"; case BTN_TR2: return @"RT"; case BTN_SELECT: return @"Back"; case BTN_START: return @"Start"; case BTN_MODE: return @"Guide"; case BTN_THUMBL: return @"LSB"; case BTN_THUMBR: return @"RSB"; case BTN_DPAD_UP: return @"D-Pad Up"; case BTN_DPAD_DOWN: return @"D-Pad Down"; case BTN_DPAD_LEFT: return @"D-Pad Left"; case BTN_DPAD_RIGHT: |
︙ | ︙ |