Am 23.11.2010 01:42, schrieb Benjamin Drung:
Attached the patch for qemu-kvm 0.13. This patch is tested on natty with
qemu-kvm 0.13.0+noroms-0ubuntu7 and the German and NEO2 keyboard layout.
** Patch added: "caps-lock-key-up-event.patch"
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/427612/+attachment/1742131/+files/caps-lock-key-up-event.patch
** Changed in: qemu
Status: Invalid => New
The patch might fix part of the problem, but there remain more issues:
* SDL also sends an SDL_KEYUP event for caps lock when the
environment variable SDL_DISABLE_LOCK_KEYS is set.
This mode is very useful but currently unsupported by qemu/kvm.
* Num lock and caps lock are handled in a similar way by SDL.
The patch only handles caps lock. Maybe this is less important
because keyboard layouts which remap num lock are rare
(I don't know any).
* The keyboard status LEDs and the qemu client's keyboard status
can become unsynchronized if the input focus changes from qemu
to other applications.
Regards,
Stefan Weil