detectKey

Detect a keyboard shortcut or return null to ignore.