From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Vivier Subject: Re: [PATCH] Paravirt framebuffer backend tools [2/5] Date: Mon, 04 Sep 2006 14:55:41 +0200 Message-ID: <44FC224D.3090300@bull.net> References: <20060904090150.GC4812@cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0184550881==" Return-path: In-Reply-To: <20060904090150.GC4812@cam.ac.uk> 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: Steven Smith Cc: Jeremy Katz , aliguori , xen-devel , sos22@srcf.ucam.org, Markus Armbruster List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0184550881== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig07A74B981C58012284026454" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig07A74B981C58012284026454 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Steven Smith wrote: [...] >> --- /dev/null Thu Jan 01 00:00:00 1970 +0000 >> +++ b/tools/xenfb/keymapping.c Sat Sep 02 15:19:25 2006 -0400 >> @@ -0,0 +1,141 @@ >> +#include >> +#include >> +#include >> + >> +uint32_t gdk_linux_mapping[0x10000] =3D { >> + [GDK_a] =3D KEY_A, > This is kind of ugly. Is there any chance it could be autogenerated? > Also, where did 0x10000 come from? >=20 > Also, depending on GTK just for the keymap table is a real pain. Or > is it already required for libvncserver? >=20 For the VNC part, as it depends on libvncserver, it should use /usr/include/rfb/keysym.h: +uint32_t gdk_linux_mapping[0x10000] =3D { + [XK_a] =3D KEY_A, For the SDL part, I'm sorry to repeat it should use scancode instead of s= ymbol id ... Regards, Laurent --=20 Laurent.Vivier@bull.net Bull, Architect of an Open World (TM) +----- "Any sufficiently advanced technology is ----+ | indistinguishable from magic." - Arthur C. Clarke | --------------enig07A74B981C58012284026454 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFE/CJQ9Kffa9pFVzwRAh8DAJ9KC8trvvQjei4DSTfOmqpF/yzcgACbB4tq j5UYOcbJeVzMsPj74EoNI50= =RYZf -----END PGP SIGNATURE----- --------------enig07A74B981C58012284026454-- --===============0184550881== 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 --===============0184550881==--