[PATCH 0/2] Clean up input device initialization code
daniel at fooishbar.org
Thu Nov 20 21:33:39 PST 2008
On Fri, Nov 21, 2008 at 03:03:15PM +1000, Peter Hutterer wrote:
> Currently, we have two paths that duplicate each other:
> InitInput() + InitAndStartDevices() for input devices in the xorg.conf, and
> NewInputDeviceRequest() for devices provided by HAL.
> These two patches clean up this mess by re-using common code better. VCP and
> VCK are enabled immediately instead of later in InitAndStartDevices (IADS),
> allowing us to enable devices in InitInput already.
> Both InitInput and NIDR now use the new xf86NewInputDevice() call to actually
> create the device.
> For the xfree86 DDX, IASD is now obsolete, but other DDX need to get fixed
> before we can remove it.
> Tested with AutoAddDevices on and off.
Just a quick scan, no testing, but looks and sounds good to me.
Signed-off-by: Daniel Stone <daniel at fooishbar.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: Digital signature
More information about the xorg