Y
Hacker News
new
|
ask
|
show
|
jobs
by
grishka
687 days ago
A bug report: the demo on the website doesn't work when you have a non-Latin (e.g. Cyrillic) keyboard layout active.
1 comments
hauken
687 days ago
Thanks. Didn't think of that. Do you have a suggestion of what character I could use for Cyrillic keyboard layout or others?
link
grishka
686 days ago
Ideally, you shouldn't rely on characters for this, you should instead use the key code (which is 90 for z/я), which identifies the physical key on the keyboard as opposed to its corresponding character in the current layout.
Here's a useful tool for finding out key codes:
https://www.toptal.com/developers/keycode
link