Changing hal-info to have X friendly key symbols
Bastien Nocera
hadess at hadess.net
Wed Feb 4 06:23:49 PST 2009
On Wed, 2009-02-04 at 14:10 +0000, Matthew Garrett wrote:
> 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.
Agreed, and although there is a real problem for the "displaytoggle" key
as mentioned above, the dvd key is the type of key that lirc will be
happy to capture and pass on to media players with LIRC support.
Until Xi2, LIRC still has a place in the input stack, but should surely
die a horrible death when we have Xi2 in place, and start moving the
remote control receivers drivers into the kernel proper (as has been
done for the ati mce driver).
More information about the hal
mailing list