All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Smith <sos22-xen@srcf.ucam.org>
To: Gerd Hoffmann <kraxel@suse.de>
Cc: xen-devel <xen-devel@lists.xensource.com>,
	Laurent Vivier <Laurent.Vivier@bull.net>,
	aliguori <aliguori@mail.utexas.edu>,
	Markus Armbruster <armbru@redhat.com>,
	sos22@srcf.ucam.org, Jeremy Katz <katzj@redhat.com>
Subject: Re: [PATCH] Paravirt framebuffer backend tools [2/5]
Date: Thu, 7 Sep 2006 08:50:46 +0100	[thread overview]
Message-ID: <20060907075046.GA2604@cam.ac.uk> (raw)
In-Reply-To: <44FF0A6F.9000203@suse.de>


[-- Attachment #1.1: Type: text/plain, Size: 1587 bytes --]

> >> If the SDL viewer is using X11 configured with french keyboard, and the virtual
> >> machine is configured with US keyboard, the used keymap will be the US one. So
> >> when I press 'A' on my keyboard I will have 'Q'.
> > That kind of sucks.
> There is no way around that.

> > Not being able to produce every character sucks
> > more, but having to configure the keymap in every VM isn't much
> > better.
> 
> For sane i18n kbd support some translation must be done.
> 
> Make the guest think he has an US keyboard and do the translation on the
> host isn't going to work.  An US keyboard hasn't an 'Ä' key for example,
> so you wouldn't be able to type that character.
> Also some characters
> are arranged in a different way, for example on a us keyboard you have
> ';' and ':' sharing one key, whereas on a german one ';' lives together
> with ','.  That isn't going to work with host-side translation too.
Alright, I'm convinced: we need to send scancodes rather than keysyms,
since that's what input core's expecting and there's no sane way to do
the reverse mapping.

Perhaps the protocol should include some means by which the backend
can tell the frontend to use a particular keymap?  Pushing that
through to X is going to be a pain, but getting the console keymap
shouldn't be too bad.  It'll get more fun when we support multiple
frontends in a domain, but that's a problem for another day.

Someone also needs to think about what the vnc backend's going to do,
since it receives X keysyms rather than scancodes from the client.

Steven.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  parent reply	other threads:[~2006-09-07  7:50 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02 19:58 [PATCH] Paravirt framebuffer backend tools [2/5] Jeremy Katz
2006-09-04  9:01 ` Steven Smith
2006-09-04 12:55   ` Laurent Vivier
2006-09-06  9:15     ` Steven Smith
2006-09-06 11:41       ` Laurent Vivier
2006-09-06 17:10         ` Steven Smith
2006-09-06 17:50           ` Gerd Hoffmann
2006-09-07  7:32             ` Laurent Vivier
2006-09-07  7:50             ` Steven Smith [this message]
2006-09-07  7:31           ` Laurent Vivier
2006-09-07  8:38             ` Steven Smith
2006-09-07  9:31               ` Laurent Vivier
2006-09-07  9:55                 ` Steven Smith
2006-09-07 12:03                   ` Laurent Vivier
2006-09-08 13:26               ` Anthony Liguori
2006-09-08 14:00                 ` Laurent Vivier
2006-09-08 14:12                 ` Steven Smith
2006-09-08 14:23                   ` Anthony Liguori
2006-10-07 16:48                     ` Markus Armbruster
2006-10-10 16:53                       ` Stephen C. Tweedie
2006-10-10 17:46                         ` Anthony Liguori
2006-10-10 17:46                         ` Anthony Liguori
2006-10-11 13:49                         ` Markus Armbruster
2006-10-11 15:18                           ` Gerd Hoffmann
2006-10-11 15:21                             ` Laurent Vivier
2006-10-10 18:48                       ` Steven Smith
2006-09-10 10:40                 ` Steven Smith
2006-09-10 13:05                   ` Anthony Liguori
2006-09-05 16:11   ` Jeremy Katz
2006-09-05 16:57     ` Anthony Liguori
2006-09-06  9:14       ` Steven Smith
2006-09-06  9:13     ` Steven Smith
2006-09-30  8:51   ` Markus Armbruster
2006-10-02  9:01     ` Steven Smith
2006-10-04 14:04       ` Markus Armbruster
2006-10-04 14:20         ` Daniel P. Berrange
2006-10-04 14:57         ` Anthony Liguori
2006-10-05 18:41           ` Steven Smith
2006-10-05 18:33         ` Steven Smith
2006-10-06 14:10           ` Markus Armbruster
2006-10-07  9:42             ` Steven Smith
2006-09-12 18:55 ` Daniel P. Berrange

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=20060907075046.GA2604@cam.ac.uk \
    --to=sos22-xen@srcf.ucam.org \
    --cc=Laurent.Vivier@bull.net \
    --cc=aliguori@mail.utexas.edu \
    --cc=armbru@redhat.com \
    --cc=katzj@redhat.com \
    --cc=kraxel@suse.de \
    --cc=sos22@srcf.ucam.org \
    --cc=xen-devel@lists.xensource.com \
    /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.