Changing hal-info to have X friendly key symbols

Martin Pitt martin.pitt at ubuntu.com
Wed Feb 4 07:14:07 PST 2009


Hello again,

Martin Pitt [2009-02-04 13:48 +0100]:
> Sometimes hal-info assigns key symbols which are > 255; However, X.org
> currently cannot use those [2], and fixing this requires a protocol
> change. After 25 years of X11, X12 won't happen anytime soon, so we
> shouldn't hold our breath for it.

This patch converts most of those to their < 256 counterparts;
comments appreciated.

There are still some left which do not have any good replacement in
the < 256 range:

#define KEY_DOLLAR		0x1b2
#define KEY_EURO		0x1b3
#define KEY_FN			0x1d0
#define KEY_PRESENTATION	0x1a9	/* AL Presentation App */
#define KEY_ZOOM		0x174

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-convert-keymaps-to-use-X11-friendly-symbols.patch
Type: text/x-diff
Size: 11676 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20090204/3f0d5618/attachment-0001.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/hal/attachments/20090204/3f0d5618/attachment-0001.pgp 


More information about the hal mailing list