-k option on Windows host
Hi,
FYI, -k option can be used only for -vnc option on Windows host.
It is correct that keyboard layout is US keyboard when you start a guest OS. After booting the guest OS, key layout is converted to your language environment by the guest OS. You can use your language layout in the guest OS.
Attatched is a patch for disable -k option if -vnc option is not used.
Regards,
Kazu
? pc-bios/keymaps
Index: sdl.c
===================================================================
RCS file: /sources/qemu/qemu/sdl.c,v
retrieving revision 1.31
sdl.c +4 -0
@@ -554,6 +554,10 @@if (!keyboard_layout) keyboard_layout ="en-us" ;#endif +#ifdef _WIN32 +if (vnc_display ==-1 ) + keyboard_layout =NULL ; +#endif if (keyboard_layout) { kbd_layout =init_keyboard_layout (keyboard_layout);if (!kbd_layout)
Index: vl.h
===================================================================
RCS file: /sources/qemu/qemu/vl.h,v
retrieving revision 1.154
vl.h +2 -0
@@ -203,6 +203,8 @@void kbd_put_keysym (int keysym); +extern int vnc_display; +/* async I/O support */ typedef void IOReadHandler (void *opaque,const uint8_t *buf,int size);