Mac Key Codes
On Mac, you can use any of the keyboard keys in their unmodified form (without shift, command, etc.) and the following list of special keys;
RETURN, TAB, SPACE, DELETE, ESCAPE, VOLUMEUP, VOLUMEDOWN, MUTE, HELP, HOME, PAGEUP, FORWARDDELETE, END, PAGEDOWN, LEFT, RIGHT, DOWN, UP, F1, F2, F3, etc.
If there are modifier keys, then add a + (plus sign) before the final key code.
To send a 5 keystroke, the key data would be 5
To send a % keystroke, the key data would be s+5
To send an F1 keystroke, the key data would be F1
To send an OPTION + CMD + F4 keystroke, the key data would be oC+F4
Example - I set the Option + Command + j hotkey in OBS to mute a source
Send keypress to OBS
Prev: Windows Key Codes
Next: Linux Key Codes