Hacker News new | ask | show | jobs
by grishka 2061 days ago
Also: I had Russian keyboard layout when I opened the link, and nothing at all worked. Switching to English fixed it. You should be using key codes, not characters, unless you're accepting text input. Key codes correspond to physical keys on the keyboard, but characters they type don't necessarily.

edit: oh it's on github, gonna submit an issue

1 comments

Yes! I use colemak, so its rather annoying when there's games that assume WASD but use characters and don't let me rebind the keys.