Re: [Qemu-devel] Definition of the UI layer's key number ?

2015-02-09 Thread Gerd Hoffmann
On Mo, 2015-02-09 at 08:31 +, Peter Maydell wrote: On 9 February 2015 at 08:27, Gerd Hoffmann kra...@redhat.com wrote: Well, we have two ways to represent a key code in qemu, unfortunately in the QMP api (see KeyValue in qapi-schema.json). One is QKeyCode (defined in qapi-schema.json

[Qemu-devel] Definition of the UI layer's key number ?

2015-02-05 Thread Peter Maydell
Hi; I'm trying to find out what the UI layer's definition of a key number is (ie what qemu_input_event_send_key_number()'s num parameter is). We don't seem to document this anywhere, which makes writing UI frontends tricky... thanks -- PMM