mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-13 23:34:16 +02:00
fix os/2 and watcom builds after commit 7bb0e839a6
This commit is contained in:
@@ -408,6 +408,11 @@ static const char *OS2_JoystickGetDevicePath(int device_index)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static int OS2_JoystickGetDeviceSteamVirtualGamepadSlot(int device_index)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
static int OS2_JoystickGetDevicePlayerIndex(int device_index)
|
||||
{
|
||||
return -1;
|
||||
@@ -817,6 +822,7 @@ SDL_JoystickDriver SDL_OS2_JoystickDriver = {
|
||||
OS2_JoystickDetect,
|
||||
OS2_JoystickGetDeviceName,
|
||||
OS2_JoystickGetDevicePath,
|
||||
OS2_JoystickGetDeviceSteamVirtualGamepadSlot,
|
||||
OS2_JoystickGetDevicePlayerIndex,
|
||||
OS2_JoystickSetDevicePlayerIndex,
|
||||
OS2_JoystickGetDeviceGUID,
|
||||
|
||||
Reference in New Issue
Block a user