Multiple mouse pointers

Asked by mit.kern.tmn

Hi everyone ,

I'm working on a project in which I've to display TWO CURSORS simultaneously on the screen.

I'm aware that the X-server handles the events of the mouse.

I wanted to ask How the X-server and GTK(tool kit which I might use to design the cursor) communicate?

Also is this possible using X-Lib?

If yes which one would be more feasible and easy?

If you guys have some examples which I can look into please do post them.

Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thomas Kluyver (takluyver) said :
#1

I think it's already been done, under the heading "Multi-pointer X". According to the Wikipedia article, it has been merged into X.org in May. There's a nice screenshot with 18 cursors on screen.

http://en.wikipedia.org/wiki/MPX

Revision history for this message
mit.kern.tmn (mit-kern-tmn) said :
#2

Thomas,

           We tried compiling the sample code for XI 2 given on the MPX home
page. Unfortunately we got 2 errors stating
                                1) XI2_major undeclared
                                2) XI2_minor undeclared
We are aware that these errors are due to lack of upgradation to Xinput.h
file regards to MPX.

Is there any other solution to this.
Also would writing our own xinput file for multiple pointers, be a feasible
solution ?

- mit.kern.tmn

On Tue, Sep 30, 2008 at 7:09 PM, Thomas K <
<email address hidden>> wrote:

> Your question #46753 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/46753
>
> Status: Open => Answered
>
> Thomas K proposed the following answer:
> I think it's already been done, under the heading "Multi-pointer X".
> According to the Wikipedia article, it has been merged into X.org in
> May. There's a nice screenshot with 18 cursors on screen.
>
> http://en.wikipedia.org/wiki/MPX
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/46753/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/46753
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Thomas Kluyver (takluyver) said :
#3

I'm afraid I've got no ideas about that--I know of the project's existence, but I've never tried to compile it or use it. The only thing I can suggest is that it's due to land in mainstream X in version 7.5, so if you can get a development version of that and compile it, you may be able to get it from that.

http://www.x.org/wiki/Releases/7.5

I suspect Ubuntu answers may be too general a forum for what you're looking for--this is more for troubleshooting with running Ubuntu. T You may want to investigate mailing lists/forums/etc. for X development, where people will probably be able to give you a lot more help with this sort of thing.

Can you help with this problem?

Provide an answer of your own, or ask mit.kern.tmn for more information if necessary.

To post a message you must log in.