sindresorhus / KeyboardShortcuts

⌨️ Add user-customizable global keyboard shortcuts (hotkeys) to your macOS app in minutes
https://swiftpackageindex.com/sindresorhus/KeyboardShortcuts/documentation/keyboardshortcuts/keyboardshortcuts
MIT License
1.95k stars 181 forks source link

Add numeric keypad symbols in keyToCharacterMapping #128

Closed soundflix closed 1 year ago

soundflix commented 1 year ago

numeric keypad keys are distinct triggers to their counterparts from main keyboard. They should be represented by different symbols to the user. My solution uses Unicode COMBINING ENCLOSING KEYCAP.

soundflix commented 1 year ago
Bildschirmfoto 2023-04-26 um 22 05 58

These are my findings in ...

System Settings > Keyboard > Keyboard Shortcuts

0 1 2 3 4 5 6 7 8 9 + -

no visible distinction to main keyboard

= / *

no visible distinction, but you wouldn't have them on main keyboard, as they are shifted.

keypad Clear

x in a box (but looks different than the ones I saw in unicode table)

keypad Enter

edgy arrow, different than Return

keypad decimal separator

, or . depeding on locale

All keypad keys work as distinct trigger, i.e. you will have independent shortcuts with main versus keypad keys, even if the look the same in display. In addition, you can use all keypad keys as trigger without any modifier!

sindresorhus commented 1 year ago

Thanks for investigating. We can go for this for now. 👍