Skip to content

Comment on Whatthekeycode.com - quickly find a js keycode for any key

Comments

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

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.