Re: [Qemu-devel] [PATCH v7 5/6] add the QKeyCode enum and the key_defs table

2012-08-30 Thread Amos Kong
On 31/08/12 01:46, Luiz Capitulino wrote: On Mon, 20 Aug 2012 12:39:28 +0800 Amos Kong wrote: key_defs[] in monitor.c is a mapping table of keys and keycodes, this patch added a QKeyCode enum and a new key_defs table, key's index in the enmu is same as keycode's index in new key_defs[]. And a

Re: [Qemu-devel] [PATCH v7 5/6] add the QKeyCode enum and the key_defs table

2012-08-30 Thread Luiz Capitulino
On Mon, 20 Aug 2012 12:39:28 +0800 Amos Kong wrote: > key_defs[] in monitor.c is a mapping table of keys and keycodes, > this patch added a QKeyCode enum and a new key_defs table, > key's index in the enmu is same as keycode's index in new key_defs[]. > > And added two help functions to convert

[Qemu-devel] [PATCH v7 5/6] add the QKeyCode enum and the key_defs table

2012-08-19 Thread Amos Kong
key_defs[] in monitor.c is a mapping table of keys and keycodes, this patch added a QKeyCode enum and a new key_defs table, key's index in the enmu is same as keycode's index in new key_defs[]. And added two help functions to convert key/code to index of mapping table, those functions will return