Jump to content

Recommended Posts

Posted

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 ?

  • 2 months later...
Posted

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!

Posted (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 by Spiff59
Posted

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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...