* [Qemu-devel] [PATCH] Added keycodes for MS-Windows Keyboards
@ 2012-05-14 21:31 Erik Rull
2012-05-15 21:43 ` Erik Rull
0 siblings, 1 reply; 2+ messages in thread
From: Erik Rull @ 2012-05-14 21:31 UTC (permalink / raw)
To: qemu-devel@nongnu.org
Keys for MS-Windows Keyboards (left / right Win Key, Context Key) were not
working in SDL / VNC environments, this patch fixes it.
Signed-off-by: Erik Rull <erik.rull@rdsoftware.de>
---
ui/x_keymap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ui/x_keymap.c b/ui/x_keymap.c
index b9b0944..4efac0d 100644
--- a/ui/x_keymap.c
+++ b/ui/x_keymap.c
@@ -43,9 +43,9 @@ static const uint8_t x_keycode_to_pc_keycode[115] = {
0xb5, /* 112 Divide */
0xb8, /* 113 Alt-R */
0xc6, /* 114 Break */
- 0x0, /* 115 */
- 0x0, /* 116 */
- 0x0, /* 117 */
+ 0xdb, /* 115 */
+ 0xdc, /* 116 */
+ 0xdd, /* 117 */
0x0, /* 118 */
0x0, /* 119 */
0x0, /* 120 */
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] Added keycodes for MS-Windows Keyboards
2012-05-14 21:31 [Qemu-devel] [PATCH] Added keycodes for MS-Windows Keyboards Erik Rull
@ 2012-05-15 21:43 ` Erik Rull
0 siblings, 0 replies; 2+ messages in thread
From: Erik Rull @ 2012-05-15 21:43 UTC (permalink / raw)
To: qemu-devel@nongnu.org, Anthony Liguori
Sorry, I forgot to CC the maintainer.
Erik Rull wrote:
> Keys for MS-Windows Keyboards (left / right Win Key, Context Key) were not
> working in SDL / VNC environments, this patch fixes it.
>
> Signed-off-by: Erik Rull <erik.rull@rdsoftware.de>
> ---
> ui/x_keymap.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/ui/x_keymap.c b/ui/x_keymap.c
> index b9b0944..4efac0d 100644
> --- a/ui/x_keymap.c
> +++ b/ui/x_keymap.c
> @@ -43,9 +43,9 @@ static const uint8_t x_keycode_to_pc_keycode[115] = {
> 0xb5, /* 112 Divide */
> 0xb8, /* 113 Alt-R */
> 0xc6, /* 114 Break */
> - 0x0, /* 115 */
> - 0x0, /* 116 */
> - 0x0, /* 117 */
> + 0xdb, /* 115 */
> + 0xdc, /* 116 */
> + 0xdd, /* 117 */
> 0x0, /* 118 */
> 0x0, /* 119 */
> 0x0, /* 120 */
> --
> 1.7.2.5
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-15 21:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 21:31 [Qemu-devel] [PATCH] Added keycodes for MS-Windows Keyboards Erik Rull
2012-05-15 21:43 ` Erik Rull
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).