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

Thank you, thank you, thank you for the keyboard selection. So many cool web game demos assume querty which makes it really inconvenient or even impossible to play them without changing the keyboard layout in the OS, but that's asking a bit much for trying out some game demo.


100% agree. Unfortunately there's no way to detect the keyboard layout with JS, so we had to ask the user to choose their keyboard.


Yeah. I know. You could try heuristics and trick the user into pressing y or z early. Then you'll know what they probably have.

But yeah - just asking is better and I'm really happy that you did


There's this keyboard selection thing in the Ubuntu installation that asks you to type in a few keys, like "Type any of AZ123...". Perhaps this could be useful here?




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

Search: