Simon Thum simon.thum at
Sun Nov 7 05:56:51 PST 2010

On 11/05/10 00:21, Peter Hutterer wrote:
> 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.
Wouldn't the config backend be in an ideal position to create reasonably
stable identifiers? If one can be built, the backend might add an input
property, e.g. "Device Stable Identifier".

Would you like to see such a patch?



More information about the xorg mailing list