View Full Version : Bind Mouse Bouton
Hi,
I trying to bind a mouse bouton for TeamSpeak. Can you help me?
Cheers, Doudou.
N. Werensteijn
23-02-2003, 21:33
the linuc client cant bind mouse buttons, sorry
this will be fixed in the next release?
I think if we bind a key to speek and we bind a mouse bouton with this key, it works... So the next question is : Did somebody try this and did somebody succes to use imwheel with rtcw or quake3?
N. Werensteijn
28-02-2003, 14:32
This wont be fixed.
The problem: As far as I can see in the x11 doc's there is no way to poll the state of the mouse buttons.
If someone can show me how this can be done, ill fix it.
a program called "xev" might help you mate.
maybe you should connect to irc.freenode.net and join #xfree86 or mail some xfree developers. I'm having a hard time to believe that this isn't possible because of xfree.
and btw imwheel won't work, tried it.
root@punaposki:~# locate ointer | grep '^/usr.*man.*X.*ointer'
/usr/X11R6/man/man3/XChangeActivePointerGrab.3x.gz
/usr/X11R6/man/man3/XChangePointerControl.3x.gz
/usr/X11R6/man/man3/XChangePointerDevice.3x.gz
/usr/X11R6/man/man3/XGetPointerControl.3x.gz
/usr/X11R6/man/man3/XGetPointerMapping.3x.gz
/usr/X11R6/man/man3/XGrabPointer.3x.gz
/usr/X11R6/man/man3/XQueryPointer.3x.gz
/usr/X11R6/man/man3/XSetPointerMapping.3x.gz
/usr/X11R6/man/man3/XtGrabPointer.3x.gz
/usr/X11R6/man/man3/XtUngrabPointer.3x.gz
/usr/X11R6/man/man3/XUngrabPointer.3x.gz
/usr/X11R6/man/man3/XWarpPointer.3x.gz
you didn't actually look at all?
N. Werensteijn
28-02-2003, 23:25
yes i have.. those aren't usefull to me :P
http://nestroy.wi-inf.uni-essen.de/Lv/gui/cg252/course/lect5h1.html ?? maybe useful.... maybe not ;p
Originally posted by GNU
a program called "xev" might help you mate.
Is it for me? if yes, can you help me a litle bit... I tried this command but I was a bit confuse when I saw the result!! :)
no, i thought it might help N. Werensteijn knowing the hook number.
ScratchMonkey
03-03-2003, 23:55
It looks like you register interest in events based on associatiation with a particular window. Is there way to register to receive mouse button events without specifying a window, so you always receive them for all windows?
Keymaster
04-04-2003, 19:23
i found this (http://www.brianweb.net/any2any/) package which apparently uses XGrabPointer with:
owner_events = true
event_mask = PointerMotionMask | ButtonPressMask | ButtonReleaseMask
pointer_mode = GrabModeAsync
keyboard_mode = GrabModeAsync
in order to get all mouse events without disabling event handling for other apps. let me know if this helps
--chris
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.