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: Rafał Cygnarowski
Subject: Re: [Qemu-devel] qemu kbd emulation
Date: Wed, 28 Jun 2006 13:17:22 +0200
User-agent: KMail/1.9.1

> > +    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);
This should be:

+           kbd_put_keycode(0xe0);
+           kbd_put_keycode(0x2a);

my fault...

> > +       }
> > +       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.

Yes, but now I'm trying only these few keys...

-- 
Rafał Cygnarowski
address@hidden




reply via email to

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