Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using two mouse POINTERs
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
meyerm
Veteran
Veteran


Joined: 27 Jun 2002
Posts: 1311
Location: Munich / Germany

PostPosted: Fri Dec 12, 2003 1:47 pm    Post subject: using two mouse POINTERs Reply with quote

Hi,

I can attach as many mice as I want to my computer using XFree. Fine. But - and this is a honest question - is it possible to use 2 mousepointers? Speak: each mouse drives it own cursor? (focus the window under the mouse last moved f.ex - or [but that wouldn't be very nice...] a second keyboard)

Despite of working with it during app-development, it would be really cool clicking inside my IM or email program while running Enemy-Territory on the other screen :-D

The XFree manual pages don't seem to cover this topic :-(
Back to top
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Fri Dec 12, 2003 2:47 pm    Post subject: Reply with quote

just do 2 x startx ?

then you have 2 mousepointers.
_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
Promit
Guru
Guru


Joined: 15 Nov 2003
Posts: 344

PostPosted: Fri Dec 12, 2003 2:49 pm    Post subject: Reply with quote

I think he means on the same screen/display.
_________________
Windows, Linux, whatever.
Back to top
View user's profile Send private message
meyerm
Veteran
Veteran


Joined: 27 Jun 2002
Posts: 1311
Location: Munich / Germany

PostPosted: Fri Dec 12, 2003 2:57 pm    Post subject: Reply with quote

Promit wrote:
I think he means on the same screen/display.

Indeed :-)
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Fri Dec 12, 2003 3:20 pm    Post subject: Reply with quote

Highly doubt it. When programming, you usually use calls in the style of getmousepos(&x,&y), without specifying which mouse... so unless X has it abstracted really well, the applications simply wouldn't support it. And even if the applications would, games probably wouldn't.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
meyerm
Veteran
Veteran


Joined: 27 Jun 2002
Posts: 1311
Location: Munich / Germany

PostPosted: Fri Dec 12, 2003 3:38 pm    Post subject: Reply with quote

hmm, concerning games this is fairly sure. But they could just grab the "corepointer". Most Desktopapplications don't want to get the mouseposition but just need to get clicked... Shouldn't this be possible if X is supporting it? Hmm, perhaps the toolkit should do this too... :-(

Well, after all it sounded quite interessting ;-)
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Fri Dec 12, 2003 10:16 pm    Post subject: Reply with quote

Run two servers. That would be the easy solution especially if all you were going to do was play games on the second screen.
Back to top
View user's profile Send private message
mirko_3
l33t
l33t


Joined: 02 Nov 2003
Posts: 605
Location: Birreria

PostPosted: Fri Dec 12, 2003 10:24 pm    Post subject: Reply with quote

do let us know if it works! :P
_________________
Non fa male! Non fa male!
Back to top
View user's profile Send private message
meyerm
Veteran
Veteran


Joined: 27 Jun 2002
Posts: 1311
Location: Munich / Germany

PostPosted: Sat Dec 13, 2003 2:18 pm    Post subject: Reply with quote

No, that wasn't the main-reason I wanted to have this setup. Of course this would be a really nice feature - but using a second X is the way I go now for games (so even the "game-X" can crash, I still can just switch to my "work-X"). Of course I can't use this when I want to have the game on one screen and my IM on another.

My motivation is that I'm developing OpenGL-apps and would like to keep one mousepointer grapped by my VR-app and the other to keep on working in KDE, ok ok: debugging ;-)

Well, perhaps Xfree 5 will help us out here. Thank you all for your answers.

@mirko_3: As I said above, playing games on another X-Server f.ex. on vt8 - of course with another color depth and fixed resolution (some games with wine have problems using the mouse correct if the desktop is lager than the current resolution) - works quite well. And of course you can switch very fast between your game and your TeX-Editor if your boss/mother comes in ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum