mirror of
https://github.com/encounter/SDL.git
synced 2025-06-13 18:13:31 +00:00
Update switch/SDL_sysjoystick.c
This commit is contained in:
parent
dc054c8e45
commit
0ed3a52d9f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user