From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Smith Subject: Re: [PATCH] Paravirt framebuffer backend tools [2/5] Date: Sun, 10 Sep 2006 11:40:21 +0100 Message-ID: <20060910104021.GC1874@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> <44FFCAC0.6060809@bull.net> <20060907083848.GA3078@cam.ac.uk> <45016F8E.1030300@cs.utexas.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0371897828==" Return-path: In-Reply-To: <45016F8E.1030300@cs.utexas.edu> 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: Anthony Liguori Cc: xen-devel , Laurent Vivier , Markus Armbruster , iap10@cl.cam.ac.uk, sos22@srcf.ucam.org, Jeremy Katz List-Id: xen-devel@lists.xenproject.org --===============0371897828== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iFRdW5/EC4oqxDHL" Content-Disposition: inline --iFRdW5/EC4oqxDHL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > >First: I now agree with you that scancodes are a better choice than > >keysyms, and that I was wrong initially. > The problem with scancodes is that you cannot always get scancodes from= =20 > the viewer. You can get scancodes from SDL but you can only get keysyms= =20 > from VNC. We would have to map VNC keysyms (which are just Xk keysyms)= =20 > to scancodes? Ian just pointed out that there's some code in rdesktop to do just that. xkeymap.c contains stuff to pull the keymap out of the X server, parse it up, and then do keysym->scancode translation. Of course, choosing a suitable keymap isn't entirely trivial, since the server can't see what keymap the client's using. Steven. --iFRdW5/EC4oqxDHL 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) iD8DBQFFA+uVO4S8/gLNrjcRArPhAJ9PFeZKcH6eBDgoVGNhsifi3kdc/wCglHPJ HYtUsg8aKvF/CBjcsOTMLdQ= =fSc0 -----END PGP SIGNATURE----- --iFRdW5/EC4oqxDHL-- --===============0371897828== 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 --===============0371897828==--