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

Butbutbut... this is what SCANCODES are for... Why aren't people using that for games nowadays? Is it out of fashion already?


I agree entirely. I attribute the lack of scancode usage in keybindings to the laziness and depravity of the young generation ;)

Actually, Javascript is a little weird with regard to scancodes. Try playing with http://javascript.info/tutorial/keyboard-events in different keyboard layouts - you'll notice that there's no code that's consistent across different layouts.




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

Search: