Skip to content
Merged
Changes from 2 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
6 changes: 3 additions & 3 deletions ios/ios_pad/source/controllers/switch_controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,11 @@ static void handle_command_response(Controller* controller, SwitchCommandRespons

// set the leds now that we know the device type
setPlayerLeds(controller);

} else if (resp->command == SWITCH_COMMAND_SET_PLAYER_LEDS) {
// enable rumble
setVibration(controller, 1);

/* Calibration causes issues for third-party controllers */
} else if (resp->command == SWITCH_COMMAND_ENABLE_VIBRATION) {
/* Calibration causes issues for some third-party controllers */
if ((sdata->device == SWITCH_DEVICE_JOYCON_LEFT || /*sdata->device == SWITCH_DEVICE_TP_JOYCON_LEFT ||*/
sdata->device == SWITCH_DEVICE_JOYCON_RIGHT || /*sdata->device == SWITCH_DEVICE_TP_JOYCON_RIGHT ||*/
sdata->device == SWITCH_DEVICE_PRO || /*sdata->device == SWITCH_DEVICE_TP_PRO ||*/
Expand Down