All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org, Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PULL 4/7] ui: add multimedia keys
Date: Fri, 28 Jul 2017 11:01:07 +0100	[thread overview]
Message-ID: <20170728100107.GJ31495@redhat.com> (raw)
In-Reply-To: <1501235829.10943.11.camel@redhat.com>

On Fri, Jul 28, 2017 at 11:57:09AM +0200, Gerd Hoffmann wrote:
>   Hi,
> 
> > > > Missing Q_KEY_CODE_MEDIASELECT entry - presumably it was supposed
> > > > to map to  KEY_MEDIA
> > > 
> > > There is KEY_SELECT too, but not KEY_MEDIASELECT.  Hmm.
> > 
> > I found a keyboard with a key labelled "Media"  and when pressed
> > it generates Linux key 171  / AT set1  0xe0 0x01 which is KEY_CONFIG
> > and GNOME pops up the control panel when pressed !
> 
> Oh joy!
> 
> I guess we should just leave that unmapped for 2.10 and sort it later
> when switching to keycodemapdb ...

Ok, I found a reference

  http://www.computer-engineering.org/ps2keyboard/scancodes1.html

Lists 'Media select' as generating 0xe0 0x6d, which corresponds
to KEY_MEDIA in Linux.

So that confirms my keyboard is simply incorrectly labelled or
wired up, as suspected.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

  reply	other threads:[~2017-07-28 10:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-27 14:00 [Qemu-devel] [PULL 0/7] Ui 20170727 patches Gerd Hoffmann
2017-07-27 14:00 ` [Qemu-devel] [PULL 1/7] ui: add next and prior keysyms Gerd Hoffmann
2017-07-27 14:00 ` [Qemu-devel] [PULL 2/7] ui: move qemu_input_linux_to_qcode() Gerd Hoffmann
2017-07-27 14:00 ` [Qemu-devel] [PULL 3/7] ui: update keymaps Gerd Hoffmann
2017-07-27 14:00 ` [Qemu-devel] [PULL 4/7] ui: add multimedia keys Gerd Hoffmann
2017-07-27 17:45   ` Daniel P. Berrange
2017-07-28  6:21     ` Gerd Hoffmann
2017-07-28  8:28       ` Daniel P. Berrange
2017-07-28  9:57         ` Gerd Hoffmann
2017-07-28 10:01           ` Daniel P. Berrange [this message]
2017-07-27 14:00 ` [Qemu-devel] [PULL 5/7] ps2: enable " Gerd Hoffmann
2017-07-27 14:00 ` [Qemu-devel] [PULL 6/7] ui: drop altgr and altgr_r QKeyCodes Gerd Hoffmann
2017-07-27 14:00 ` [Qemu-devel] [PULL 7/7] ps2: fix sending of PAUSE/BREAK scancodes Gerd Hoffmann
2017-07-27 14:02   ` Daniel P. Berrange
2017-07-27 15:43 ` [Qemu-devel] [PULL 0/7] Ui 20170727 patches Peter Maydell

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=20170728100107.GJ31495@redhat.com \
    --to=berrange@redhat.com \
    --cc=armbru@redhat.com \
    --cc=kraxel@redhat.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.