mirror of https://github.com/encounter/SDL.git
Update switch/SDL_sysjoystick.c
This commit is contained in:
parent
6948c1a72c
commit
dd75de95be
|
@ -188,6 +188,10 @@ static const char *SWITCH_JoystickGetDeviceName(int device_index) {
|
||||||
return "Switch Controller";
|
return "Switch Controller";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const char *SWITCH_JoystickGetDevicePath(int device_index) {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
static int SWITCH_JoystickGetDevicePlayerIndex(int device_index) {
|
static int SWITCH_JoystickGetDevicePlayerIndex(int device_index) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -337,6 +341,7 @@ SDL_JoystickDriver SDL_SWITCH_JoystickDriver = {
|
||||||
SWITCH_JoystickGetCount,
|
SWITCH_JoystickGetCount,
|
||||||
SWITCH_JoystickDetect,
|
SWITCH_JoystickDetect,
|
||||||
SWITCH_JoystickGetDeviceName,
|
SWITCH_JoystickGetDeviceName,
|
||||||
|
SWITCH_JoystickGetDevicePath,
|
||||||
SWITCH_JoystickGetDevicePlayerIndex,
|
SWITCH_JoystickGetDevicePlayerIndex,
|
||||||
SWITCH_JoystickSetDevicePlayerIndex,
|
SWITCH_JoystickSetDevicePlayerIndex,
|
||||||
SWITCH_JoystickGetDeviceGUID,
|
SWITCH_JoystickGetDeviceGUID,
|
||||||
|
|
Loading…
Reference in New Issue