Differences From Artifact [c3e1b2216e]:
- File src/hid/OHXInputGamepad.m — part of check-in [7be631239e] at 2024-06-08 19:38:26 on branch trunk — OHXInputGamepad: Fix missed rename (user: js, size: 5210) [annotate] [blame] [check-ins using]
To Artifact [f110678448]:
- File
src/hid/OHXInputGamepad.m
— part of check-in
[48e6a99f7b]
at
2024-06-08 22:16:16
on branch trunk
— OHEvdevGamepad: Filter buttons/axes
This is instead of replacing them altogether, which means the button
names are kept and extra buttons are not removed. (user: js, size: 5147) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
51 52 53 54 55 56 57 | if ([buttonNames[i] isEqual: @"Guide"] && OHXInputVersion == 910) continue; button = [[OHGameControllerButton alloc] initWithName: buttonNames[i]]; | < | < < < < | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | if ([buttonNames[i] isEqual: @"Guide"] && OHXInputVersion == 910) continue; button = [[OHGameControllerButton alloc] initWithName: buttonNames[i]]; [buttons setObject: button forKey: buttonNames[i]]; } [buttons makeImmutable]; _buttons = [buttons retain]; _axes = [[OFDictionary alloc] init]; directionalPads = |
︙ | ︙ |