On Thu, Nov 04, 2010 at 10:35:29PM +1100, Russell Shaw wrote: > In XInput2, when i get a XI_HierarchyChanged event after plugging in > another mouse, is there a way to get a unique identifier for each device > such as a brand and model number?
no, the device ID is unfortunately the only identifier you have. model/vendor information, etc. isn't exported by any driver yet. Cheers, Peter > When i start my program that uses two mice for different functions > (one in each hand), it would be useful for them both to be assigned > the correct role whenever the program is started, regardless of > whatever other devices have been plugged in since the last session. _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: [email protected]
