News for hackers. Stuff that matters.
Re:Hexagon 16384 by Moru on Friday March 21, 2014 @09:52AM (#7442281)
Butbutbut... this is what SCANCODES are for... Why aren't people using that for games nowadays? Is it out of fashion already?
Re:Hexagon 16384 by Yen on Monday March 24, 2014 @03:52PM (#7460933)
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.