XFree86 4.3/4.4: distinguish between two mouses?

Rasca <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Organization Triad Berlin GmbH
Message-ID <[email protected]>
Hello,

I've two mouses connected to my Linux box. They work
fine in general.

In my X-application (here SDL..) I want to know on
which mouse a button was pressed. Accroding to
XInput.h / XDeviceButtonEvent there is a field which
is named "deviceid". But this has allways the same
value. It doesn't matter which button I pressed. Any
ideas how to solve this problem?

thx + cu
  rasca

-- 
_______________________________________________________________
| Triad Berlin Projektgesellschaft mbH | http://www.triad.de/ |
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.