Hacker News new | ask | show | jobs
by Hovertruck 5029 days ago
What would you want it do for Ctrl+Alt+S? When you press one, it does exactly what it should – displays the keycode for the key.

Key combos like you describe would be handled by the shiftKey/metaKey/etc attributes of the event object provided to the event handler.