Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions drivers/apple/joypad_apple.mm
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,10 @@ void play_strong_pattern(CHHapticPattern *p_pattern) {
xboxGamepad.paddleButton3.pressedChangedHandler = BUTTON(JoyButton::PADDLE3);
xboxGamepad.paddleButton4.pressedChangedHandler = BUTTON(JoyButton::PADDLE4);
}
if ([gamepad isKindOfClass:[GCDualShockGamepad class]]) {
GCDualShockGamepad *dualShockGamepad = (GCDualShockGamepad *)gamepad;
dualShockGamepad.touchpadButton.pressedChangedHandler = BUTTON(JoyButton::TOUCHPAD);
}
}

if (@available(macOS 12, iOS 15.0, tvOS 15.0, *)) {
Expand Down