Re: Antwort: Re: [Xpert]2 mice with 2 mouse pointer
Sorry 'bout the late answer but I only just got your letter. I don't know if the mailing list program at XFree86 is to blame or my university's qmail setup or the script kiddies who did a DoS attack recently :/ (but mails from the xpert mailing list do come at extemely odd intervals and quite often "bunched up" with 10-20 of them showing up at once) On Thu, 11 Jul 2002 [EMAIL PROTECTED] wrote: > On Wed, 10 Jul 2002, Trent Whaley wrote: [actually, I think it was me but never mind...] > >Or would it be enough for "CAD or GIS work" if one the pointers was the > >"real" pointer, which would generate normal events, and the other one > >controlled another cursor -- with a distinct look -- that generated > >another kind of mouse events that only "prepared" applications would > >receive ? > > Yes it is so. I want to have one pointer which is the "normal" mouse pointer to > generate normal events, and the other should be a graphic table that only react > when I do something in a "prepared" application. > > > > >If so, I think it is already supported. > > > Where is it supported? Can you give me a little bit help? Well, it's supported in XFree86 of course ;) (sorry, cheap shot) The "prepared" application has to use the X Input Extension (as an other poster also wrote). The documentation can be found in the tarball in the directory xc/doc/hardcopy/Xi. The server has to be configured correctly, of course -- see the file xc/programs/Xserver/hw/xfree86/doc/xinput (or the source file xc/programs/Xserver/hw/xfree86/doc/sgml/xinput.sgml) and the man page for XF86Config, especially the INPUTDEVICE section. -Peter Besides, anybody who can't handle needless complexity shouldn't be fooling around with dangerous machines such as computers. - Dan Rabin (Haskell mailing list, May 1993) ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Antwort: Re: [Xpert]2 mice with 2 mouse pointer
On Wed, 10 Jul 2002, Trent Whaley wrote: >> On July 10, 2002 12:32 am, Nick Name wrote about "Re: [Xpert]2 mice with 2 >> mouse pointer": >> >> > Still I can't see the point-er :) What use could a second pointer be of? >> >> If you're doing CAD or GIS work, the second pointer could be a digitizer. >That's how you would /control/ the second pointer. The lo-level driver >side has always been clear. The question is how the hi-level >representation of two "coordinate sources" should be. >Would you want one pointer controlled by both the mouse and the digitizer? >Do you want two pointers, one controlled by the mouse and one by the >digitizer? >Would they be equal? >Would they both be displayed at all times? >Could "clicks" with both of them be seen as normal mouse clicks by legacy >X applications? >What about focus issues? >What about mouse grabs? >Or would it be enough for "CAD or GIS work" if one the pointers was the >"real" pointer, which would generate normal events, and the other one >controlled another cursor -- with a distinct look -- that generated >another kind of mouse events that only "prepared" applications would >receive ? Yes it is so. I want to have one pointer which is the "normal" mouse pointer to generate normal events, and the other should be a graphic table that only react when I do something in a "prepared" application. >If so, I think it is already supported. Where is it supported? Can you give me a little bit help? >-Peter Thanks Thorsten ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Antwort: Re: [Xpert]2 mice with 2 mouse pointer
> What use could a second pointer be of? i have two monitors. one normal tft and one with a touchscreen. at the normal one i would like to have a mouse pointer withe the ps/2 mouse. at the other side, on the tft with touch i don't like a mouse pointer. and i don't like to use the mouse poniter from the other monitor, too. so i need two "pointers", one normal mouse pointer (ps/2) and one for the touchscreen (seriell mouse). but how can i still get this?? Kind regards / Mit freundlichen GrĂ¼ssen Thorsten Lohner Dipl.-Ing. (FH) Advanced Development Driver Assistance Systems (EP/ERS) DaimlerChrysler AG W59, EP/ERS, X910 D-71059 Sindelfingen Phone +49-(0)7031-90-70767 Fax +49-(0)7031-90-86960 mailto [EMAIL PROTECTED] [EMAIL PROTECTED] Gesendet von: [EMAIL PROTECTED] 10.07.02 11:42 Bitte antworten an xpert An: [EMAIL PROTECTED] Kopie: Thema: Re: [Xpert]2 mice with 2 mouse pointer On Wed, 10 Jul 2002 08:24:16 +0100 (BST) Dr Andrew C Aitchison <[EMAIL PROTECTED]> wrote: > Which window would get keyboard input ? Maybe you can have a "primary pointer" and "secondary pointers". Still I can't see the point-er :) What use could a second pointer be of? Vince ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]2 mice with 2 mouse pointer
Isn't this already available via the X Input Extension, XtAppAddInput(), etc. I believe some apps use a digitizer within the context of a drawing/viewing window, but the primary pointer is still used to interact with menus, etc. Actually, I seem to recall that The GIMP has support using tablets via the input extension. On Wednesday, July 10, 2002, at 02:08 , Trent Whaley wrote: > On July 10, 2002 12:32 am, Nick Name wrote about "Re: [Xpert]2 mice > with 2 > mouse pointer": > >> Still I can't see the point-er :) What use could a second pointer be >> of? > > If you're doing CAD or GIS work, the second pointer could be a > digitizer. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]2 mice with 2 mouse pointer
On Wed, 10 Jul 2002, Trent Whaley wrote: > On July 10, 2002 12:32 am, Nick Name wrote about "Re: [Xpert]2 mice with 2 > mouse pointer": > > > Still I can't see the point-er :) What use could a second pointer be of? > > If you're doing CAD or GIS work, the second pointer could be a digitizer. That's how you would /control/ the second pointer. The lo-level driver side has always been clear. The question is how the hi-level representation of two "coordinate sources" should be. Would you want one pointer controlled by both the mouse and the digitizer? Do you want two pointers, one controlled by the mouse and one by the digitizer? Would they be equal? Would they both be displayed at all times? Could "clicks" with both of them be seen as normal mouse clicks by legacy X applications? What about focus issues? What about mouse grabs? Or would it be enough for "CAD or GIS work" if one the pointers was the "real" pointer, which would generate normal events, and the other one controlled another cursor -- with a distinct look -- that generated another kind of mouse events that only "prepared" applications would receive ? If so, I think it is already supported. -Peter ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]2 mice with 2 mouse pointer
I didn't want to polemicize, (hope this is an english word :-) only to ask of course. Vincenzo Ciancia ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]2 mice with 2 mouse pointer
On July 10, 2002 12:32 am, Nick Name wrote about "Re: [Xpert]2 mice with 2 mouse pointer": > Still I can't see the point-er :) What use could a second pointer be of? If you're doing CAD or GIS work, the second pointer could be a digitizer. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]2 mice with 2 mouse pointer
Am Mittwoch, 10. Juli 2002 11:04 schrieben Sie: > On Wed, 10 Jul 2002, John Tapsell wrote: > > bah > > What I meant to say, before I so rudely interrupted myself, was that > > you can emulate multiple cursors etc by having multiple X servers. > > At the moment you cannot have multiple X-servers on one screen, > > If only Xnest or Xdarwin could be configured to use a different mouse > or keyboard, then you could have multiple servers on one screen :-) You can have multiple x-servers on one screen. It's simple, just get 2 graphics cards and one of those security surveilance monitors with buildt-in splitter. If you get the timings right that should work. Servus Casandro -- #define T 1000 #define M T*T int main(){int x,y;for(y=0;y<20;y++){for(x=0;x<70;x++){int c=-1;int xr,yr,zr;int xp,yp,zp;xp=yp=zp=0;xr=(x-35);yr=(y- 10);zr=10;while(1){if(yp>T){c=5;ifzp)/T)%2==1)^(((xp+M )/T)%2==1))c=0;break;}if(zp>T*10){c=0;if (((yp*yp+xp*xp)/( T*100))%2==1)c=2;break;}zp+=zr;xp+=xr;yp+=yr;}printf("%c", c+32);}printf("\n");}}; ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]2 mice with 2 mouse pointer
On Wed, 10 Jul 2002, John Tapsell wrote: > bah > What I meant to say, before I so rudely interrupted myself, was that > you can emulate multiple cursors etc by having multiple X servers. > At the moment you cannot have multiple X-servers on one screen, If only Xnest or Xdarwin could be configured to use a different mouse or keyboard, then you could have multiple servers on one screen :-) -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]2 mice with 2 mouse pointer
bah What I meant to say, before I so rudely interrupted myself, was that you can emulate multiple cursors etc by having multiple X servers. At the moment you cannot have multiple X-servers on one screen, nor can you have them on multiple monitors. The first, I doubt will ever be changed. The second is a kernel issue to do with not being able to have multiple active VT's. However the linuxconsole (.org? or something - check freshmeat or kernelnewbies) ppl have fixed this, and are hoping to get the changes in. So basically you can already, with some patching, have multiple monitors with a seperate mouse and keyboard on each. Not great, but we are getting there... ;) -- ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]2 mice with 2 mouse pointer
I personally want 2 pointers, and do it by binding keyboards and mice together. (e.g. keyboard 1 + mouse 1, keyboard 2 + mouse 2..) There are of course various problems, one of the less technical being that since you have multiple keyboards and mice, you probably will connect them via usb, and the problem with this is that (correct me if I'm wrong) they can order themselves in any order, so everytime you boot up you would have to work out which keyboards are associated with which mice, and if you plugged a new one in, it could (?) reshuffle them again. I personally would love to see this :) However, since the On Wed, Jul 10, 2002 at 08:24:16AM +0100, Dr Andrew C Aitchison wrote: > On Mon, 8 Jul 2002 [EMAIL PROTECTED] wrote: > > > hi, > > > > i have two mice at my system (ps/2 and seriell). now i have only one mouse > > pointer. but i want to have two mouse pointer, each for one mouse. is this > > possible? and how must i change the xf86config file? or must i split the x11 in > > some way? > > X is not designed for 2 pointers, so there is no way of telling > applications which pointer is giving them information. > > I believe that it can't be done at the moment, but this question keeps > coming yp, so I've started wondering what people want to happen. > How do you want this to work ? > It is usually the case that one application or window has the input focus > and is told when a mouse button or key is pressed (or released). > If there were two pointers, each selecting a different window, > would you get a click in the appropriate window when a mouse button > is pressed ? Which window would get keyboard input ? > > -- > Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge > [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna > > ___ > Xpert mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xpert -- ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]2 mice with 2 mouse pointer
On Wed, 10 Jul 2002 08:24:16 +0100 (BST) Dr Andrew C Aitchison <[EMAIL PROTECTED]> wrote: > Which window would get keyboard input ? Maybe you can have a "primary pointer" and "secondary pointers". Still I can't see the point-er :) What use could a second pointer be of? Vince ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]2 mice with 2 mouse pointer
On Mon, 8 Jul 2002 [EMAIL PROTECTED] wrote: > hi, > > i have two mice at my system (ps/2 and seriell). now i have only one mouse > pointer. but i want to have two mouse pointer, each for one mouse. is this > possible? and how must i change the xf86config file? or must i split the x11 in > some way? X is not designed for 2 pointers, so there is no way of telling applications which pointer is giving them information. I believe that it can't be done at the moment, but this question keeps coming yp, so I've started wondering what people want to happen. How do you want this to work ? It is usually the case that one application or window has the input focus and is told when a mouse button or key is pressed (or released). If there were two pointers, each selecting a different window, would you get a click in the appropriate window when a mouse button is pressed ? Which window would get keyboard input ? -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]2 mice with 2 mouse pointer
hi, i have two mice at my system (ps/2 and seriell). now i have only one mouse pointer. but i want to have two mouse pointer, each for one mouse. is this possible? and how must i change the xf86config file? or must i split the x11 in some way? thanks in advance. greetings thorsten Kind regards / Mit freundlichen GrĂ¼ssen Thorsten Lohner Dipl.-Ing. (FH) Advanced Development Driver Assistance Systems (EP/ERS) DaimlerChrysler AG mailto [EMAIL PROTECTED] ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert