Hervé Poussineau 57d5c005d3 ps2: allow keycode translation for all scancode sets
Change ps2_put_keycode to get an untranslated scancode, which is translated if needed.

As qemu_input_key_value_to_scancode() gives translated scancodes, untranslate them
in ps2_keyboard_event first before giving them to ps2_put_keycode.

Results are not changed, except for some keys in translated set 3.

Translation table is available at
https://www.win.tue.nl/~aeb/linux/kbd/scancodes-10.html

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Message-id: 1473969987-5890-4-git-send-email-hpoussin@reactos.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-09-28 14:03:18 +02:00
..
2016-07-12 09:25:28 +02:00
2016-01-29 15:07:25 +00:00
2016-09-08 18:05:21 +04:00
2016-05-19 16:42:29 +02:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-08-08 00:00:28 +04:00
2016-01-29 15:07:25 +00:00