sdl2_frt/src/video/cocoa
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
..
SDL_cocoaclipboard.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoaclipboard.m Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoaevents.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoaevents.m Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoakeyboard.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoakeyboard.m cocoa: Check for capslock in -[NSResponder flagsChanged], not with IOKit. 2019-06-26 13:21:43 -04:00
SDL_cocoamessagebox.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoamessagebox.m Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoametalview.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoametalview.m cocoa: Fix assert to use SDL_assert 2019-03-04 12:16:43 -05:00
SDL_cocoamodes.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoamodes.m macOS: Fix the coordinate space of SDL_GetDisplayUsableBounds (thanks Tim!) 2019-06-12 19:57:30 -03:00
SDL_cocoamouse.h cocoa: Patched to compile and also handle possible malloc failure. 2019-06-18 16:53:49 -04:00
SDL_cocoamouse.m cocoa: Patched to compile and also handle possible malloc failure. 2019-06-18 16:53:49 -04:00
SDL_cocoamousetap.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoamousetap.m Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoaopengl.h cocoa: ignore compiler warnings about OpenGL being deprecated. 2019-06-14 21:18:53 -04:00
SDL_cocoaopengl.m cocoa: ignore compiler warnings about OpenGL being deprecated. 2019-06-14 21:18:53 -04:00
SDL_cocoaopengles.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoaopengles.m Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoashape.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoashape.m Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoavideo.h Fix build with the 10.10 SDK 2019-06-11 08:33:30 -07:00
SDL_cocoavideo.m cocoa: Patched to compile and also handle possible malloc failure. 2019-06-18 16:53:49 -04:00
SDL_cocoavulkan.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoavulkan.m Fixed bug 4570 - Support Vulkan Portability rather than MoltenVK specifically 2019-06-11 18:13:46 -07:00
SDL_cocoawindow.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_cocoawindow.m cocoa: Check for capslock in -[NSResponder flagsChanged], not with IOKit. 2019-06-26 13:21:43 -04:00