mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
kbd: add support for brazilian keyboard (two extra keys).
input: add virtio-input devices. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABAgAGBQJVaCyuAAoJEEy22O7T6HE4TDUQALmOVcaNBJTN6K4iVV5DM2TY vsrJ7GmhDpXbEuax1o2qKaWoO1oZy52UrLYlnC9/1Qv7OzE/RQlu6++8ZsZxNIvc ZjzZlEbDfViaaAb0ta/UCIB282zpuq6gpxczHVeuhtxgN+RzL6tHuIc8397zOVRr HRadFcC4r8FwuFd6b0UTBUK9ALG0i9wM5VdGqNeENDeIExAAlvQKEMOxJ43qIhL2 Ib1LdEwyux/GhSSVYoNrzYv07PG9/kbEAp3bWt5IRn+k+M9RGxCEWZICQPkxQhPc 85l//uu8Y9TuEVHDBRHdH/IUNdMmU/2rcgjnM9PATAMmGyC8YuE6KZ1hd4WCyunL Qdv3wN3o/yT1x9ci/iqwLlWEkllNLkBf+bETOf/hx3X3GzQftVnv1XYgtoV9/Ila MS/XrnmZ6KXy+fs7KANIo6ahO2HaH+bFyZt/N3W6B+gS/u15BNAeKDinkSbdFU6w eXMV731I8wiN5fjpa2ckka25mfJGPc5W9FCLrFVzyZK2inIEShBzrO0JtYX7fw9X v99UhVA+bjrTwsREPb5B+4n+G43Vd50/07vH019jFW0FqtILWs+PhTSkQk+vLQdG uOkpSn9S7T1IeUx9JaeuUXdNvEAdv7oYf3DvmzrUmYXaGOpr7z0CTu+xvMh3ZbPJ 1/ZnUvvWn+GLixM49fO8 =0GG+ -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/kraxel/tags/pull-input-20150529-1' into staging kbd: add support for brazilian keyboard (two extra keys). input: add virtio-input devices. # gpg: Signature made Fri May 29 10:09:02 2015 BST using RSA key ID D3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" * remotes/kraxel/tags/pull-input-20150529-1: virtio-input: emulated devices [device] virtio-input: core code & base class [device] virtio-input: add linux/input.h kbd: add brazil kbd keys to x11 evdev map kbd: add brazil kbd keys to qemu Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
9441aa282b
10 changed files with 2105 additions and 4 deletions
|
@ -128,6 +128,10 @@ static const int qcode_to_number[] = {
|
|||
|
||||
[Q_KEY_CODE_INSERT] = 0xd2,
|
||||
[Q_KEY_CODE_DELETE] = 0xd3,
|
||||
|
||||
[Q_KEY_CODE_RO] = 0x73,
|
||||
[Q_KEY_CODE_KP_COMMA] = 0x7e,
|
||||
|
||||
[Q_KEY_CODE_MAX] = 0,
|
||||
};
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ static const uint8_t x_keycode_to_pc_keycode[115] = {
|
|||
*/
|
||||
|
||||
static const uint8_t evdev_keycode_to_pc_keycode[61] = {
|
||||
0, /* 97 EVDEV - RO ("Internet" Keyboards) */
|
||||
0x73, /* 97 EVDEV - RO ("Internet" Keyboards) */
|
||||
0, /* 98 EVDEV - KATA (Katakana) */
|
||||
0, /* 99 EVDEV - HIRA (Hiragana) */
|
||||
0x79, /* 100 EVDEV - HENK (Henkan) */
|
||||
|
@ -126,7 +126,7 @@ static const uint8_t evdev_keycode_to_pc_keycode[61] = {
|
|||
0, /* 126 EVDEV - I126 ("Internet" Keyboards) */
|
||||
0, /* 127 EVDEV - PAUS */
|
||||
0, /* 128 EVDEV - ???? */
|
||||
0, /* 129 EVDEV - I129 ("Internet" Keyboards) */
|
||||
0x7e, /* 129 EVDEV - KP_COMMA (brazilian) */
|
||||
0xf1, /* 130 EVDEV - HNGL (Korean Hangul Latin toggle) */
|
||||
0xf2, /* 131 EVDEV - HJCV (Korean Hangul Hanja toggle) */
|
||||
0x7d, /* 132 AE13 (Yen)*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue