From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Smith Subject: Re: [PATCH] Paravirt framebuffer backend tools [2/5] Date: Thu, 7 Sep 2006 08:50:46 +0100 Message-ID: <20060907075046.GA2604@cam.ac.uk> References: <20060904090150.GC4812@cam.ac.uk> <44FC224D.3090300@bull.net> <20060906091505.GD3257@cam.ac.uk> <44FEB3DE.5070502@bull.net> <20060906171006.GA5306@cam.ac.uk> <44FF0A6F.9000203@suse.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0422856601==" Return-path: In-Reply-To: <44FF0A6F.9000203@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann Cc: xen-devel , Laurent Vivier , aliguori , Markus Armbruster , sos22@srcf.ucam.org, Jeremy Katz List-Id: xen-devel@lists.xenproject.org --===============0422856601== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > >> If the SDL viewer is using X11 configured with french keyboard, and th= e 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. >=20 > For sane i18n kbd support some translation must be done. >=20 > 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 '=C4' 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. --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE/89WO4S8/gLNrjcRAuHxAJ9fhczPzIIgC6rNcJ9wWVCqo7qs3ACeJo59 q8/RGeSqIrh3JJFAVqJpYhg= =ZTqO -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE-- --===============0422856601== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0422856601==--