adding support for 2 mice
Moderator: Moderator Team
adding support for 2 mice
is there any way that you can use 2 mice on one system?
Like if you had a driver and each port that had a mouse hooked up it whould just make mouse1 mouse2 ect so it knew what mouse was what and wich one was clicking on what.
If there is no support right now can some one show me were the mouse driver is for react os so I can see if I can modify it and make support for 2 mice. It does not seam like it would be to hard to do you just set it up so that you could use 2 mice then 2 keyboards then 2 monitors with seprate desktops.
I work at dell and when I was in consumer people would call in asking to do something like that. I know that it is not supported right now but sence this is open source I bet some one can modify it so it is supported. Like 2 monitors works already so all you do is modify the exploer code so when it clones the desktop then make each one there own instance so that each person could use each desktop on each monitor with a differnt desktop ,mouse and keyboard
It may not be possible at this time but it would be fun.
So if any one can point in the right direction and also tell in the source were the mouse driver is I would be very thankful.
And if any one needs help on working on anything just email me at
"Jeremy_king@dell.com"/"kingpinzs@hotmail.com"
I willing to help with anything.
I know C/c++,qbasic,visual basic,and turbo pascal
Like if you had a driver and each port that had a mouse hooked up it whould just make mouse1 mouse2 ect so it knew what mouse was what and wich one was clicking on what.
If there is no support right now can some one show me were the mouse driver is for react os so I can see if I can modify it and make support for 2 mice. It does not seam like it would be to hard to do you just set it up so that you could use 2 mice then 2 keyboards then 2 monitors with seprate desktops.
I work at dell and when I was in consumer people would call in asking to do something like that. I know that it is not supported right now but sence this is open source I bet some one can modify it so it is supported. Like 2 monitors works already so all you do is modify the exploer code so when it clones the desktop then make each one there own instance so that each person could use each desktop on each monitor with a differnt desktop ,mouse and keyboard
It may not be possible at this time but it would be fun.
So if any one can point in the right direction and also tell in the source were the mouse driver is I would be very thankful.
And if any one needs help on working on anything just email me at
"Jeremy_king@dell.com"/"kingpinzs@hotmail.com"
I willing to help with anything.
I know C/c++,qbasic,visual basic,and turbo pascal
Last edited by jeremyk on Tue Mar 15, 2005 3:12 am, edited 1 time in total.
Where is the point in having 2 mouse pointers on the same screen
Do you use one to select a new window/application and the other is used to select items from menus? I don't think this makes much sense. The only example I can think of is a multiplayer game where 2 people sit in front of the PC and play against each other and everyone has its own mouse (and I guess there would be some problems with mouse event handling in this example)
I think it would make much more sense when the input is splitted between two (or more) desktops, like jeremyk already mentioned.
Do you use one to select a new window/application and the other is used to select items from menus? I don't think this makes much sense. The only example I can think of is a multiplayer game where 2 people sit in front of the PC and play against each other and everyone has its own mouse (and I guess there would be some problems with mouse event handling in this example)
I think it would make much more sense when the input is splitted between two (or more) desktops, like jeremyk already mentioned.
A working software is special state of chaos
that might behave as you have expected it to do.
that might behave as you have expected it to do.
Re: adding support for 2 mice
http://svn.reactos.com/viewcvs/trunk/re ... ers/input/jeremyk wrote:So if any one can point in the right direction and also tell in the source were the mouse driver is I would be very thankful.
Download the source code via SVN client.
Information:
http://reactos.com/wiki/index.php/Subversion
multiple mouses <=> Multiple logins
Multiple mouses means that we also need multiple logins'a multi - user environment because we will need two start menues and two desktops.
Well I think we will have to move in that direction sooner or later. I hope sooner.
Well I think we will have to move in that direction sooner or later. I hope sooner.
Of cause you can have two displays. I have that on Windows and Linux at the moment. But AFAIK no 2 mice, no 2 keyboards, no 2 users loged in. (at least none of them in that way)meklort wrote:I think you can do the multiple displays in linux, but i havent tried with miltiple mice (or keyboards).
A long long time ago I used to play "The Settlers II" (build-up game) with a friend that way.The only example I can think of is a multiplayer game where 2 people sit in front of the PC and play against each other and everyone has its own mouse
Yeah, the good old days DOS ruledA long long time ago I used to play "The Settlers II" (build-up game) with a friend that way.
Well I guess those games are now bannished by multiplayer network games (some of them aren't that bad either...)
A working software is special state of chaos
that might behave as you have expected it to do.
that might behave as you have expected it to do.
In linux you can have two different people logged in on the same screen.(thats what i mean by multiple displays) You can also have two screens, each with different the different logins.The only thing i have not done is to be able to use two mice and keyboards, affecting only one screen, but instead affecting the same pointer.Dr. Fred wrote:Of cause you can have two displays. I have that on Windows and Linux at the moment. But AFAIK no 2 mice, no 2 keyboards, no 2 users loged in. (at least none of them in that way)meklort wrote:I think you can do the multiple displays in linux, but i havent tried with miltiple mice (or keyboards).
A long long time ago I used to play "The Settlers II" (build-up game) with a friend that way.The only example I can think of is a multiplayer game where 2 people sit in front of the PC and play against each other and everyone has its own mouse
So it looks like some people are interested in this.
Can any one point me in the right direct of how to get started on doing this?
Is it in the driver or in the pointer calls?
can I just add a file in that will do this or will i have to edit most of the core source to make this happen?
Just anything that will help.
To think of this in a logical way.
what would be the order things work in?
1)load mouse driver
2)something attaches the cursor to the position of the mouse.
So I think the question is how does windows mouse pointer work?
Can so one give me a diagram of the order things work for the mouse?
Thanks
Can any one point me in the right direct of how to get started on doing this?
Is it in the driver or in the pointer calls?
can I just add a file in that will do this or will i have to edit most of the core source to make this happen?
Just anything that will help.
To think of this in a logical way.
what would be the order things work in?
1)load mouse driver
2)something attaches the cursor to the position of the mouse.
So I think the question is how does windows mouse pointer work?
Can so one give me a diagram of the order things work for the mouse?
Thanks
Ok, i dont know any programming langueages very well (except maby php), but ill give it a try.jeremyk wrote:what would be the order things work in?
1)load mouse driver
2)something attaches the cursor to the position of the mouse.
So I think the question is how does windows mouse pointer work?
Can so one give me a diagram of the order things work for the mouse?
What i would think should happen is:
1) detect two screens, if there is only one, then you cant do this (or emulate a second screen)
2) if you have two screens, add an option in the controll panal for 'multi-desktop workstation' or such.
3) If multi-... set, detect for two mice / tell the user (if (s)he can) to add another mouse, and if only one mouse, then the second screen wont have one. Bind mouse one to screen one, and mouse two to screen two.
3) if 2 screens... determin if two keyboards, (same as above step..).
4)Now, since the user has selected two screens, make sure only two draw one scren on each, not the same screen.
5) When reactos get a mouse interupt, detect wich mouse was moved, and only update the corrisponding scrren, same thign with the keyboard.
That is probably some of the things you would need to do.
Who is online
Users browsing this forum: Google [Bot] and 28 guests