qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1038136] Re: lack of keycode 89 for br-abnt2 keyboards


From: rslemos
Subject: [Qemu-devel] [Bug 1038136] Re: lack of keycode 89 for br-abnt2 keyboards
Date: Wed, 27 Nov 2013 09:16:43 -0000

I've managed to resolve it applying the following patch (without "-k pt-
br"):

--- qemu-1.6.0+dfsg.orig/ui/x_keymap.c
+++ qemu-1.6.0+dfsg/ui/x_keymap.c
@@ -94,7 +94,7 @@ static const uint8_t x_keycode_to_pc_key
  */

 static const uint8_t evdev_keycode_to_pc_keycode[61] = {
-    0,         /*  97 EVDEV - RO   ("Internet" Keyboards) */
+    0x73,      /*  97 EVDEV - /?°  (ABNT2 Keyboards) */
     0,         /*  98 EVDEV - KATA (Katakana) */
     0,         /*  99 EVDEV - HIRA (Hiragana) */
     0x79,      /* 100 EVDEV - HENK (Henkan) */

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1038136

Title:
  lack of keycode 89 for br-abnt2 keyboards

Status in QEMU:
  Confirmed

Bug description:
  qemu-kvm-1.1.1
  host system: slackware64-13.37
  Bug detailed description:
  Independent of Guest OS nothing happens when keycode 89 is pressed. 
  If you select option "-k pt-br" at qemu commandline you get keycode 89 but 
there is no more keycode 26 (dead_acute dead_grave) and keycode 51 fails on 
"less" sign.
  If you have a numeric keyboard you can use its "slash" key but there is no 
means to use the question mark, causing discomfort when you are scripting or 
programming.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1038136/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]