glfw/src
Camilla Löwy 201400b974 Simplify parsing of default gamepad mappings
The outer glfwUpdateGamepadMappings function is now bypassed when
parsing the default gamepad mappings.  The data in mappings.h does not
contain any comments or line breaks.  Also this is done before joystick
support has been initialized, so there is no need to look for matching
devices.

Finally, the array of default mappings is pre-allocated.  This has no
measurable performance impact but does generate a lot of calls, which
won't be nice for a user provided custom allocator to deal with.
2021-08-01 20:57:28 +02:00
..
CMakeLists.txt Add custom target for updating gamepad mappings 2021-08-01 20:16:17 +02:00
cocoa_init.m Cocoa: Fix console apps getting a dock icon 2021-02-10 18:14:32 +01:00
cocoa_joystick.h Add gamepad mapping filtering by backend 2021-08-01 20:17:21 +02:00
cocoa_joystick.m Cleanup 2020-07-21 17:54:07 +02:00
cocoa_monitor.m Make monitor and joystick names static strings 2021-05-14 19:02:08 +02:00
cocoa_platform.h Cocoa: Fix macro redefinition warning 2021-07-29 21:21:45 +02:00
cocoa_time.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
cocoa_window.m Improve error description for invalid scancodes 2021-07-29 21:50:24 +02:00
context.c Move single/double-buffer filtering to backends 2021-05-14 19:02:25 +02:00
egl_context.c EGL: Fix creation of single-buffered windows 2021-05-14 19:02:25 +02:00
egl_context.h EGL: Fix creation of single-buffered windows 2021-05-14 19:02:25 +02:00
glfw_config.h.in Cocoa: Select Vulkan surface extension at runtime 2020-01-16 21:53:18 +01:00
glfw.rc.in Win32: Add VERSIONINFO resource to GLFW DLL 2019-12-11 21:02:08 +01:00
glx_context.c Move single/double-buffer filtering to backends 2021-05-14 19:02:25 +02:00
glx_context.h Replace some tabs with spaces 2019-06-16 16:57:09 +02:00
init.c Simplify parsing of default gamepad mappings 2021-08-01 20:57:28 +02:00
input.c Simplify parsing of default gamepad mappings 2021-08-01 20:57:28 +02:00
internal.h Simplify parsing of default gamepad mappings 2021-08-01 20:57:28 +02:00
linux_joystick.c Cleanup 2020-07-21 17:54:07 +02:00
linux_joystick.h Add gamepad mapping filtering by backend 2021-08-01 20:17:21 +02:00
mappings.h Simplify parsing of default gamepad mappings 2021-08-01 20:57:28 +02:00
mappings.h.in Simplify parsing of default gamepad mappings 2021-08-01 20:57:28 +02:00
monitor.c Make monitor and joystick names static strings 2021-05-14 19:02:08 +02:00
nsgl_context.h NSGL: Remove problematic swap interval workaround 2019-12-20 09:46:48 +01:00
nsgl_context.m Cocoa: Fix call to NSWindow from non-main threads 2020-04-30 22:44:54 +02:00
null_init.c Null: Make platform more conformant 2020-06-02 22:40:09 +02:00
null_joystick.c Make _glfwPlatformInitJoysticks() return the correct type in null_joystick 2020-08-08 22:51:50 +02:00
null_joystick.h Fix -Wextra-semi warnings 2019-10-17 20:09:38 +02:00
null_monitor.c Null: Fix out parameters not being set 2020-08-19 19:31:55 +02:00
null_platform.h Remove EGL and OSMesa struct member macros 2020-06-24 00:50:49 +02:00
null_window.c Improve error description for invalid scancodes 2021-07-29 21:50:24 +02:00
osmesa_context.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
osmesa_context.h Remove EGL and OSMesa struct member macros 2020-06-24 00:50:49 +02:00
posix_thread.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
posix_thread.h Start 3.4 2019-04-16 23:08:39 +02:00
posix_time.c Fix POSIX conformance issues for clock_gettime 2019-12-15 18:15:40 +01:00
posix_time.h Start 3.4 2019-04-16 23:08:39 +02:00
vulkan.c Cocoa: Add fully dynamic loading of Vulkan loader 2020-01-16 22:15:30 +01:00
wgl_context.c Move single/double-buffer filtering to backends 2021-05-14 19:02:25 +02:00
wgl_context.h WGL: Remove unused constants 2020-02-10 17:44:57 +01:00
win32_init.c Win32: Add warning when option will have no effect 2021-03-15 00:48:48 +01:00
win32_joystick.c Cleanup 2020-07-21 17:54:07 +02:00
win32_joystick.h Add gamepad mapping filtering by backend 2021-08-01 20:17:21 +02:00
win32_monitor.c Win32: Update all monitor handles on config change 2020-10-05 23:24:12 +02:00
win32_platform.h Replace GL_ARB_debug_output in comments 2021-04-22 22:37:37 +02:00
win32_thread.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
win32_time.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
win32_window.c Improve error description for invalid scancodes 2021-07-29 21:50:24 +02:00
window.c Make GLFW_DOUBLEBUFFER a window attribute 2021-05-14 19:02:25 +02:00
wl_init.c Wayland: Fix missing constant on FreeBSD 2021-06-22 00:30:39 +02:00
wl_monitor.c Make monitor and joystick names static strings 2021-05-14 19:02:08 +02:00
wl_platform.h Remove EGL and OSMesa struct member macros 2020-06-24 00:50:49 +02:00
wl_window.c Use switch statement instead of if-else-chain for cursor shapes 2020-12-08 15:45:14 +01:00
x11_init.c Add GLFW_X11_XCB_VULKAN_SURFACE init hint 2021-04-14 23:38:22 +02:00
x11_monitor.c Fix typos 2020-06-23 16:41:37 +02:00
x11_platform.h X11: Include X Shape extension headers 2020-07-15 18:00:00 +02:00
x11_window.c Improve error description for invalid scancodes 2021-07-29 21:50:24 +02:00
xkb_unicode.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
xkb_unicode.h Start 3.4 2019-04-16 23:08:39 +02:00