An array of modifier key strings (e.g., ["cmd", "shift"]). Supports generic names
The key name or character (e.g., "a", "space", "return", "f1")
A JavaScript function to call when the hotkey is pressed, or null for no callback
A JavaScript function to call when the hotkey is released, or null for no callback
A hotkey object, or null if binding failed
Bind a hotkey (
cmd,shift,alt,ctrl,fn) and side-specific names (leftCmd,rightCmd,leftAlt,rightAlt,leftCtrl,rightCtrl,leftShift,rightShift).