3 ms·
Butbutbut... this is what SCANCODES are for... Why aren't people using that for games nowadays? Is it out of fashion already?
by Moru 13y ago
Butbutbut... this is what SCANCODES are for... Why aren't people using that for games nowadays? Is it out of fashion already?
- Yen 13y agoI 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 http://javascript.info/tutorial/keyboard-events in different keyboard layouts - you'll notice that there's no code that's consistent across different layouts.