SDL/src/video/windows
Cameron Gutman 72379ba510 windows: Fix handling of swapped mouse buttons
GetAsyncKeyState() and GetRawInputData() report the state of the physical
buttons without applying the user's primary/secondary mouse button swap
preference. Swap the buttons returned from these functions, so we expose a
consistent view of the buttons to SDL callers. This new behavior also matches
the behavior of macOS and X11 backends.

See the Remarks section of the GetAsyncKeyState() function on MSDN.
2020-08-25 21:22:00 -07:00
..
SDL_msctf.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_vkeys.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsclipboard.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsclipboard.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsevents.c windows: Fix handling of swapped mouse buttons 2020-08-25 21:22:00 -07:00
SDL_windowsevents.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsframebuffer.c Fixed whitespace 2020-06-09 21:43:00 -07:00
SDL_windowsframebuffer.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowskeyboard.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowskeyboard.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsmessagebox.c SIZE_MAX need not be defined in limits.h 2020-11-11 12:33:55 +03:00
SDL_windowsmessagebox.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsmodes.c video: Refresh Windows display list on WM_DISPLAYCHANGE 2020-10-13 21:08:20 -07:00
SDL_windowsmodes.h video: Refresh Windows display list on WM_DISPLAYCHANGE 2020-10-13 21:08:20 -07:00
SDL_windowsmouse.c windows: Fix handling of swapped mouse buttons 2020-08-25 21:22:00 -07:00
SDL_windowsmouse.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsopengl.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsopengl.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsopengles.c Patched to compile. 2020-07-16 13:28:59 -04:00
SDL_windowsopengles.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsshape.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsshape.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowstaskdialog.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsvideo.c Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
SDL_windowsvideo.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsvulkan.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowsvulkan.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_windowswindow.c Fixed bug 5171 - PollEvent impacts performance in 2.0.12 2020-06-09 21:47:41 -07:00
SDL_windowswindow.h Fixed bug 5171 - PollEvent impacts performance in 2.0.12 2020-06-09 21:47:41 -07:00
wmmsg.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00