Select mapping platform name at runtime

This is done in preparation for runtime platform selection.
This commit is contained in:
Camilla Löwy
2021-07-15 22:12:21 +02:00
parent d0776e04a3
commit 6d51b39106
10 changed files with 24 additions and 7 deletions
-1
View File
@@ -27,7 +27,6 @@
#define _GLFW_PLATFORM_JOYSTICK_STATE _GLFWjoystickWin32 win32
#define _GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE struct { int dummyLibraryJoystick; }
#define _GLFW_PLATFORM_MAPPING_NAME "Windows"
#define GLFW_BUILD_WIN32_MAPPINGS
// Joystick element (axis, button or slider)