Map scancodes to keypresses