qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu kbd emulation


From: Stuart Brady
Subject: Re: [Qemu-devel] qemu kbd emulation
Date: Wed, 28 Jun 2006 11:07:55 +0100
User-agent: Mutt/1.5.9i

On Wed, Jun 28, 2006 at 10:27:31AM +0200, Rafa?? Cygnarowski wrote:
> +    case 0xc8: /* up */
> +    case 0xd0: /* down */
> +    case 0xcd: /* right */
> +    case 0xcb: /* left */
> +       if (ev->type != SDL_KEYUP) {
> +           kbd_put_keycode(e0);
> +           kbd_put_keycode(2a);
> +       }
> +       break;
>      }

As I suspected, this is the "fake shift" sequence.  It's should also be
needed for the insert, delete, home, end, page up and page down keys.

Note that fake shifts shouldn't be generated for the numeric keypad.
-- 
Stuart Brady




reply via email to

[Prev in Thread] Current Thread [Next in Thread]