[SDL] libSDL: different IDs for two USB-mouses?

Ryan C. Gordon icculus at clutteredmind.org
Tue Feb 8 10:04:00 PST 2005


> So, for me it looks like even in the X11 core routines there
> is no way to figure out which mouse was pressed, isn't it!

Chances are, you're using /dev/input/mice, which blends all USB mouse 
input into one logical device (partially so that mouse input in the X 
server continues to work as you plug and unplug mice).

I don't know if there's a better solution for this under X11 at the 
moment. Someone else might know, though.

--ryan.





More information about the SDL mailing list