cocoabits / MASShortcut

Modern framework for managing global keyboard shortcuts compatible with Mac App Store. More details:
http://blog.shpakovski.com/2012/07/global-keyboard-shortcuts-in-cocoa.html
BSD 2-Clause "Simplified" License
1.52k stars 220 forks source link

Does not work when some other application takes over keyboard #138

Open akamensky opened 5 years ago

akamensky commented 5 years ago

Tried demo on macbook pro with touch bar using a shortcut like "Shift+Cmd+b", it works everywhere except the case where I actually would like this to work: an OpenGL application that runs in a fullscreen and possibly takes over a keyboard. System shortcuts like Cmd+Tab work just fine, but the demo stops working when the application is in foreground.

shpakovski commented 5 years ago

Not sure if this can be fixed. Could you try alternate components for the shortcut recording? Do they work while the OpenGL window is active.