Hi friends.  I am doing a project about X Window.  In this project, I try to 
create two independent cursors which
controlled by two mice in one monitor.

Currently, I have used ``X Input Extension'' (libXi) to receive event from the 
second mouse.  I have removed
``AlwaysCore'' option from XF86Config file at the second mouse section.  From 
that the second mouse can't
change the position of the cursor (only the first mouse can), however, the 
event from the second mouse can detect
and distinguish from the core event (from the first mouse) i.e. the event from 
the second mouse is ``extension event''.
But when I read parameters from that second mouse event, ... T_T, the position 
variables is the same as the cursor 
which controlled by the first mouse ... so sad

Could you give me suggestions? How could I create two independent cursors 
controlled by two mice?

Currently I am thinking about read/write second mouse directly from 
/dev/input/mice (something). 
Anyway, I think it's better to do it in X level.... But how?

Thank you
-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to