qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Rafał Cygnarowski" <zswi@pers.pl>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu kbd emulation
Date: Wed, 28 Jun 2006 13:17:22 +0200	[thread overview]
Message-ID: <200606281317.22985.zswi@pers.pl> (raw)
In-Reply-To: <20060628100755.GA3701@miranda.arrow>

> > +    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
rafi@pers.pl

      reply	other threads:[~2006-06-28 11:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-28  8:27 [Qemu-devel] qemu kbd emulation Rafał Cygnarowski
2006-06-28  8:39 ` Oliver Gerlich
2006-06-28 12:16   ` Rafał Cygnarowski
2006-06-28 14:28     ` Jim C. Brown
2006-06-28 17:27       ` Rafał Cygnarowski
2006-06-29 20:56       ` Rafał Cygnarowski
2006-06-28 15:05     ` Stuart Brady
2006-06-28  9:39 ` Stuart Brady
2006-06-28 10:07 ` Stuart Brady
2006-06-28 11:17   ` Rafał Cygnarowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200606281317.22985.zswi@pers.pl \
    --to=zswi@pers.pl \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).