Add null joystick backend

This prepares the X11 backend to support other joystick APIs, for
example the FreeBSD libusb one.
This commit is contained in:
Camilla Löwy
2017-01-31 03:29:28 +01:00
parent c5694b3013
commit 67a55efa27
13 changed files with 103 additions and 38 deletions
-5
View File
@@ -269,11 +269,6 @@ int _glfwPlatformGetKeyScancode(int key)
return -1;
}
int _glfwPlatformPollJoystick(int jid, int mode)
{
return GLFW_FALSE;
}
void _glfwPlatformGetRequiredInstanceExtensions(char** extensions)
{
}