Changing hal-info to have X friendly key symbols

Matthew Garrett mjg59 at srcf.ucam.org
Wed Feb 4 06:10:51 PST 2009


On Wed, Feb 04, 2009 at 01:48:43PM +0100, Martin Pitt wrote:
> So I propose that we change those mappings to a key symbol < 256, so
> that they will actually be useful. In particular,
> 
>   displaytoggle -> switchvideomode
>   dvd -> media

I'm happy with these specific changes, but not with it as a general 
policy. X is not the only consumer of keybindings on the system, and we 
simply don't have enough space in the <255 space to fit every key that 
we want.

Note that this can be fixed with Xi2 - it's not necessary to break the 
core protocol. The similarity in names with X12 is unfortunate. It'd be 
nice to see more developer work in this field rather than coming up with 
increasingly awkward compromises to avoid the limitation.

-- 
Matthew Garrett | mjg59 at srcf.ucam.org


More information about the hal mailing list