Re: [libvirt] problem of escaped scancodes

2011-08-25 Thread Daniel P. Berrange
On Thu, Aug 25, 2011 at 10:25:57AM +0900, KAMEZAWA Hiroyuki wrote: On Tue, 23 Aug 2011 14:54:11 +0100 Daniel P. Berrange berra...@redhat.com wrote: No, we just need to switch to use the correct scancode set. The original keymap-gen.pl script in GTK-VNC has code for auto-generating

Re: [libvirt] problem of escaped scancodes

2011-08-25 Thread KAMEZAWA Hiroyuki
On Thu, 25 Aug 2011 17:51:49 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Thu, Aug 25, 2011 at 10:25:57AM +0900, KAMEZAWA Hiroyuki wrote: On Tue, 23 Aug 2011 14:54:11 +0100 Daniel P. Berrange berra...@redhat.com wrote: No, we just need to switch to use the correct scancode

Re: [libvirt] problem of escaped scancodes

2011-08-24 Thread KAMEZAWA Hiroyuki
On Tue, 23 Aug 2011 14:54:11 +0100 Daniel P. Berrange berra...@redhat.com wrote: No, we just need to switch to use the correct scancode set. The original keymap-gen.pl script in GTK-VNC has code for auto-generating the RFB scancode set, from the data for the XT KBD scancode set. It is a

[libvirt] problem of escaped scancodes

2011-08-23 Thread Lai Jiangshan
Hi, Daniel P. Berrange, Our user found that some keycode can not be handled well when they try to map other keycode to xt_kbd keycode, when xt_kbd keycode is an escaped scancode. The xt_kbd keycode http://git.gnome.org/browse/gtk-vnc/plain/src/keymaps.csv are come from x86_keycodes[] of

Re: [libvirt] problem of escaped scancodes

2011-08-23 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 03:32:51PM +0800, Lai Jiangshan wrote: Hi, Daniel P. Berrange, Our user found that some keycode can not be handled well when they try to map other keycode to xt_kbd keycode, when xt_kbd keycode is an escaped scancode. The xt_kbd keycode