[PATCH v2 2/3] config: Introduce InputAttributes in NewInputDeviceRequest

Dan Nicholson dbn.lists at gmail.com
Sun Nov 29 09:05:47 PST 2009

On Sat, Nov 28, 2009 at 8:25 PM, Daniel Stone <daniel at fooishbar.org> wrote:
> Hi,
> On Fri, Nov 27, 2009 at 02:01:00PM -0800, Dan Nicholson wrote:
>> In order to give NewInputDeviceRequest more information, a new
>> InputAttributes type is introduced. Currently, this collects the product
>> name, device path, and sets booleans for having keys and/or a pointer.
>> Only the HAL backend fills in the structure, though.
> Any reason you can't just fill in InputOptions? The Xorg and KDrive NIDR
> implementations already recognise device/path as a valid option.

I'm not sure I'm following exactly, but the options do get merged back
into idev->commonOptions. If you mean it should be done in the config
backend and passed through NIDR, I don't think I can do that here
since I'm relying on using xorg.conf. That could only happen the the
xfree86 ddx. Right now the only DDX-independent config store is HAL,
and this is an effort to move away from it.

Can you clarify?


More information about the xorg-devel mailing list