kohi
kohi copied to clipboard
[FEATURE] (Enhancement) Simplify macOS input keycodes
Per a comment from Bradley Stach on YT:
for the keycodes that come through in NSEvent, use #import <Carbon/Carbon.h> The defines for the key codes then follow the form kVK_Space, kVK_ANSI_A, kVK_ANSI_B, etc.
This may simplify the input section of logic (or at least make it more clear).