SDL/src
Ryan C. Gordon 57e08c27ef cocoa: Check for capslock in -[NSResponder flagsChanged], not with IOKit.
Using IOKit for this pops up a warning at startup on macOS 10.15 ("Catalina"),
asking the user to authorize the app to listen to all keyboard input in the
system, which is unacceptable.

I _think_ we were using IOKit under incorrect presumptions here; the Stack
Overflow link mentioned in it was complaining about not being able to use
flagsChanged to differentiate between left and right mod keys, but that's not
an issue for capslock.

It's also possible this code was trying to deal with capslock changing when
the window didn't have focus, but we handle this elsewhere now, if we didn't
at the time.
2019-06-26 13:21:43 -04:00
..
atomic Updated copyright for 2019 2019-01-04 22:01:14 -08:00
audio Fixed compiler warning 2019-06-18 14:24:24 -07:00
core Android: export Lock/Unlock activity API 2019-06-24 18:08:11 +02:00
cpuinfo Fixed bug 4557 - SDL_SIMDAlloc and *Free should be in the public interface 2019-06-08 14:54:37 -07:00
dynapi Fixed bug 4526 - replace SDL_RW* macros with functions for using in bindings 2019-06-08 17:43:23 -07:00
events Fixed bug 4672 - Warnings in SDL_LogEvent() 2019-06-19 17:11:20 -07:00
file Fixed bug 4526 - replace SDL_RW* macros with functions for using in bindings 2019-06-08 17:43:23 -07:00
filesystem Updated copyright for 2019 2019-01-04 22:01:14 -08:00
haptic Updated copyright for 2019 2019-01-04 22:01:14 -08:00
hidapi Protect against NULL device in the Android hidapi implementation 2019-06-07 09:00:26 -07:00
joystick Rolling back GameCube HIDAPI support 2019-06-19 15:54:21 -07:00
libm Updated copyright for 2019 2019-01-04 22:01:14 -08:00
loadso Updated copyright for 2019 2019-01-04 22:01:14 -08:00
main Updated version to 2.0.10 2019-06-17 10:13:28 -07:00
power Updated copyright for 2019 2019-01-04 22:01:14 -08:00
render direct3d: Use D3DPOOL_DEFAULT for vertex buffers after all, release correctly. 2019-06-21 15:07:39 -04:00
sensor Updated copyright for 2019 2019-01-04 22:01:14 -08:00
stdlib riscos: Fix iconv warnings 2019-01-13 23:36:31 +00:00
test test: unify all the command line usage logging. 2019-05-28 17:39:13 -04:00
thread Hopefully fixed the mingw32 build 2019-03-19 17:20:54 -07:00
timer Updated copyright for 2019 2019-01-04 22:01:14 -08:00
video cocoa: Check for capslock in -[NSResponder flagsChanged], not with IOKit. 2019-06-26 13:21:43 -04:00
SDL.c events: Make debug logging of the event queue a hint instead of an #ifdef. 2019-03-15 14:08:30 -04:00
SDL_assert.c assert: Another attempt to quiet compiler warnings. 2019-06-14 22:29:13 -04:00
SDL_assert_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_dataqueue.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_dataqueue.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_error.c Fix DirectInput error codes being lost 2019-03-16 18:11:09 -07:00
SDL_error_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_hints.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_internal.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_log.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00