Splitz Posted January 21, 2009 Posted January 21, 2009 I have a mouse with 2 normal buttons / a middle wheel / and 2 additional buttons on the side (referred to as 4th and 5th mouse) when making a script i want to know how to make it send the 4th or 5th mouse button MouseClick ( "button" [, x, y [, clicks [, speed ]]] ) so for "button" what would i put to have it send my 4th or 5th mouse button ?
jaberwacky Posted January 21, 2009 Posted January 21, 2009 Anyone know ?I only have a regular mouse so I can't test, but the helpfile lists these buttons: "main", "menu", "primary", "secondary". Have you tried them? Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
IKilledBambi Posted January 21, 2009 Posted January 21, 2009 (edited) 05 and 06 are those buttons also, with those buttons you will have to use _IsPressed Edited January 21, 2009 by IKilledBambi
Bert Posted January 21, 2009 Posted January 21, 2009 You can only use _ispressed if you know the code to the buttons. It is not in the list, so that would have to be researched. I tried to google it, but I didn't find anything. The Vollatran project  My blog: http://www.vollysinterestingshit.com/
Richard Robertson Posted January 21, 2009 Posted January 21, 2009 He's not looking to capture the buttons, but simulate the clicks. You might try using DllCall with SendInput with a mouse event.
CattBoy Posted April 16, 2009 Posted April 16, 2009 He's not looking to capture the buttons, but simulate the clicks.You might try using DllCall with SendInput with a mouse event.So does anyone know? I have a Logitech MX518. Has a scroll wheel, 2 side buttons, 3 top buttons . Please!
Spiff59 Posted April 17, 2009 Posted April 17, 2009 (edited) Those top buttons aren't standard hardware. they aren't something detected naturally by the Operating System. They're assigned to do something by the Logitech MX-518 driver. Run the Logitech Control Center and see how they're assigned, then you'll know what keys/buttons/strings you need to intercept or simulate. Or, you could reassign them to suit your needs... Edit: It looks like the top and bottom small buttons default to adjusting mouse sensitivity up or down... Am not sure about the center one. Edit2: Geez, that's one serious mouse driver. I just checked the Logitech site, there's no separate manual available. Am guessing it's embedded in the driver download or driver help file. But, "SetPoint" version 4.72 for the MX518 just came out a month ago and at 51.5MB it ought to allow you to set those buttons to fry bacon or take out the trash. I'd download that, get yourself up to the latest version 4.72, then play in the control center and see what application/game profiles there are, what they do, how to modify them, or create new ones, etc. Edited April 17, 2009 by Spiff59
CattBoy Posted April 17, 2009 Posted April 17, 2009 Those top buttons aren't standard hardware. they aren't something detected naturally by the Operating System.They're assigned to do something by the Logitech MX-518 driver. Run the Logitech Control Center and see how they're assigned, then you'll know what keys/buttons/strings you need to intercept or simulate. Or, you could reassign them to suit your needs...Edit: It looks like the top and bottom small buttons default to adjusting mouse sensitivity up or down... Am not sure about the center one.Edit2: Geez, that's one serious mouse driver. I just checked the Logitech site, there's no separate manual available. Am guessing it's embedded in the driver download or driver help file.But, "SetPoint" version 4.72 for the MX518 just came out a month ago and at 51.5MB it ought to allow you to set those buttons to fry bacon or take out the trash. I'd download that, get yourself up to the latest version 4.72, then play in the control center and see what application/game profiles there are, what they do, how to modify them, or create new ones, etc.Alright...Options in the Mouse driver allow me to map Keyboard strokes to the buttons. So i just mapped those to the mouse then changed the 'hotkeys' in my application to those keys.Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now