Update switch/SDL_sysjoystick.c

This commit is contained in:
Luke Street 2022-05-31 14:42:31 -04:00
parent dc054c8e45
commit 0ed3a52d9f
1 changed files with 5 additions and 0 deletions

View File

@ -188,6 +188,10 @@ static const char *SWITCH_JoystickGetDeviceName(int device_index) {
return "Switch Controller";
}
static const char *SWITCH_JoystickGetDevicePath(int device_index) {
return NULL;
}
static int SWITCH_JoystickGetDevicePlayerIndex(int device_index) {
return -1;
}
@ -337,6 +341,7 @@ SDL_JoystickDriver SDL_SWITCH_JoystickDriver = {
SWITCH_JoystickGetCount,
SWITCH_JoystickDetect,
SWITCH_JoystickGetDeviceName,
SWITCH_JoystickGetDevicePath,
SWITCH_JoystickGetDevicePlayerIndex,
SWITCH_JoystickSetDevicePlayerIndex,
SWITCH_JoystickGetDeviceGUID,