[PATCH 07/11] xfree86: Add MatchOS InputClass entry for operating system matching

Dan Nicholson dbn.lists at gmail.com
Thu May 20 07:50:33 PDT 2010


On Thu, May 20, 2010 at 7:40 AM, Julien Cristau <jcristau at debian.org> wrote:
> On Thu, May 20, 2010 at 07:09:09 -0700, Dan Nicholson wrote:
>
>> Allow InputClass sections to match against the running operating system
>> to narrow the application of rules. An example where this could be used
>> is to specify that the default input driver on Linux is evdev while it's
>> mouse/kbd everywhere else.
>>
>> The operating system name is the same as `uname -s`, and matching is
>> case-insensitive.
>>
> Does this have benefits over installing different files based on the
> build OS?

No. I just wanted it to be possible to do a generic xorg.conf.d file
like x11-input.fdi. I was going to add a patch to make 10-evdev.conf
be 10-input.conf with appropriate MatchOS statements, but then didn't
know if that should be inflicted on hal platforms where it could
regress people.

Mostly I just wanted to have fdi2iclass.py be able to do 1:1
translations of fdi files if possible.

--
Dan


More information about the xorg-devel mailing list