View Full Version : [ubuntu] xinput DeviceNumber resetting randomly

July 11th, 2011, 09:06 PM
I am trying to use a usb touchpad as a musical instrument, and the code I wrote uses the DeviceNumber from xinput list to turn off the pointing function of the touchpad, and also to get the touchpad to generate sound. The problem is that the DeviceNumber seems to reset randomly, and the property (0/1 off/on) does as well. Does anyone know how to fix the DeviceNumber and the property and keep them from resetting? This occurs without me unplugging the touchpad or rebooting.