qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: Alex Williamson <alex.williamson@redhat.com>,
	"Daniel P . Berrange" <berrange@redhat.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC,Draft] ui: add an embedded Barrier client
Date: Wed, 28 Aug 2019 22:58:11 +0200	[thread overview]
Message-ID: <9f4c6ccd-ab3a-3d9e-a41f-8c9e3cc854db@vivier.eu> (raw)
In-Reply-To: <20190828090753.ho2stm7ppzej4zcb@sirius.home.kraxel.org>

Le 28/08/2019 à 11:07, Gerd Hoffmann a écrit :
...
>> I will try to add a keyboard remapping as we have with VNC because it
>> doesn't work well with my french keyboard (AZERTY). Or perhaps I can use
>> the "button" id instead of the keyid but I don't now how to map the
>> value to a qcode.
> 
> Depends on how the button id is defined.  If it is one of the usual
> keycodes it should be easy and should work better than reverse mapping.

Yes, it's an Xkb keycode and qemu_input_map_xorgkbd_to_qcode[] works
like a charm.

Thanks,
Laurent



      reply	other threads:[~2019-08-28 21:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-27 19:25 [Qemu-devel] [RFC,Draft] ui: add an embedded Barrier client Laurent Vivier
2019-08-28  6:11 ` Gerd Hoffmann
2019-08-28  8:13   ` Laurent Vivier
2019-08-28  9:07     ` Gerd Hoffmann
2019-08-28 20:58       ` Laurent Vivier [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=9f4c6ccd-ab3a-3d9e-a41f-8c9e3cc854db@vivier.eu \
    --to=laurent@vivier.eu \
    --cc=alex.williamson@redhat.com \
    --cc=berrange@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 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).