Patch
Brought to you by:
icecook
This is a patch to use the X11 API to enable/disable devices rather than using an external command. It attempts to find a touchpad, mouse or trackball and disables/enables it the same way the original touchdaemon did (and syndaemon) previously. It is also possible to pass a device id (from xinput list) to the program and it will disable/enable that specific device instead of attempting to guess.
Patch to use X11 calls rather than system to enable/disable devices