Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's keyboard code [1] vs. Keyboard key [2].

[1] Physical location of a key https://w3c.github.io/uievents/#keys-codevalues

[2] Mapping of a key https://w3c.github.io/uievents/#keys-keyvalues

The naming is terrible and I have to look it up every single time



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: