[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/6] input: switch sparc32 kbd to new input api
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 5/6] input: switch sparc32 kbd to new input api |
Date: |
Tue, 06 May 2014 14:16:39 +0200 |
Hi,
> - put_queue(s, 0); // XXX, layout?
> + put_queue(s, 0x21); // USA layout
> Here is a mapping with corrected codes for arrows/pgup/pgdown... :
>
> static const uint8_t qcode_to_keycode[Q_KEY_CODE_MAX] = {
[ ... ]
Picked it up, thanks.
> I have tried a 119 keys Sun USB keyboard but the additional keys do not seem
> to
> be detected by QEMU. Needs more work...
Using the 'sendkey' monitor command should work.
Typing on the physical keyboard needs work in the UI code I guess.
What you are using? gtk? sdl? vnc?
cheers,
Gerd