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

Can't set two arrow keys as part of a shotcut #151

Closed ColtonIdle closed 3 years ago

ColtonIdle commented 3 years ago

I want to have a shortcut that is ctrl + option + left + up for example but I can only choose a single arrow key. Is this purposeful?

Kentzo commented 3 years ago

A macOS “shortcut” may have at most one non-modifier key.

You may modify the UI component to render that sequence, but will have to intercept such event manually.

Best Regards Ilya Kulakov

On Dec 27, 2020, at 6:46 PM, ColtonIdle notifications@github.com wrote:

 I want to have a shortcut that is ctrl + option + left + up for example but I can only choose a single arrow key. Is this purposeful?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

shpakovski commented 3 years ago

@Kentzo Thanks for the answer!

@ColtonIdle AppKit doesn’t support multiple non-modifier keys in a single event, so this would be a problem to implement this technically. Sorry for the inconvenience 🤷‍♂️