Hacker News new | ask | show | jobs
by princeverma 5029 days ago
it would be nice if it can simultaneously display appropriate JS code to bind for a particular key. Also, if it can recognize key combos like ctrl-alt-s
2 comments

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.

I agree! I would like to see this done.