Differences From Artifact [f7c0aaf892]:
- File
src/hid/OHEvdevGamepad.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: 6564) [annotate] [blame] [check-ins using]
To Artifact [deafbe8df3]:
- File src/hid/OHEvdevGamepad.m — part of check-in [31f8c31ac7] at 2024-06-08 23:04:34 on branch trunk — OHEvdevGamepad: Fix name of trigger buttons (user: js, size: 6602) [annotate] [blame] [check-ins using]
︙ | |||
144 145 146 147 148 149 150 | 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | + - + + - + | - (OHGameControllerButton *)leftTriggerButton { OHGameControllerAxis *axis = [_rawProfile.axes objectForKey: @"Z"]; if (axis != nil) return [[[OHGameControllerEmulatedTriggerButton alloc] initWithName: @"LT" |
︙ |