Skip to content

Commit eee624e

Browse files
committed
switch/SDL_sysjoystick.c: fixup for 2.0.16
1 parent 2847107 commit eee624e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/joystick/switch/SDL_sysjoystick.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ static int SWITCH_JoystickSetLED(SDL_Joystick *joystick, Uint8 red, Uint8 green,
250250
return 0;
251251
}
252252

253+
static int SWITCH_JoystickSendEffect(SDL_Joystick *joystick, const void *data, int size) {
254+
return SDL_Unsupported();
255+
}
253256
static int SWITCH_JoystickSetSensorsEnabled(SDL_Joystick *joystick, SDL_bool enabled) {
254257
return SDL_Unsupported();
255258
}
@@ -337,12 +340,17 @@ SDL_JoystickDriver SDL_SWITCH_JoystickDriver = {
337340
SWITCH_JoystickSetDevicePlayerIndex,
338341
SWITCH_JoystickGetDeviceGUID,
339342
SWITCH_JoystickGetDeviceInstanceID,
343+
340344
SWITCH_JoystickOpen,
345+
341346
SWITCH_JoystickRumble,
342347
SWITCH_JoystickRumbleTriggers,
348+
343349
SWITCH_JoystickHasLED,
344350
SWITCH_JoystickSetLED,
351+
SWITCH_JoystickSendEffect,
345352
SWITCH_JoystickSetSensorsEnabled,
353+
346354
SWITCH_JoystickUpdate,
347355
SWITCH_JoystickClose,
348356
SWITCH_JoystickQuit,

0 commit comments

Comments
 (0)