[PATCH 0/2] Clean up input device initialization code

Daniel Stone 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>

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20081121/fac3ff2d/attachment.pgp>


More information about the xorg mailing list