Jump to content
Sign in to follow this  
Nova

Swap mouse buttons

Recommended Posts

Nova

Good morning,

Im looking for a command line tool that can swap the mouse buttons around without a gui.

I have found a regestry edit for doing this but it requires you to restart your pc for the effect to take place, im afraid that just wont do, im very impatient :lmao:

Anyone know of a link two one ?

Share this post


Link to post
Share on other sites
/\/\1|<3

Func SwapMouseButton($mode = 1)
    DllCall("user32.dll", "int", "SwapMouseButton", "int", $mode)
EndFunc

mode = 1 for swapping

mode = 0 for returning to normal mode

Mike.

Edited by /\/\1|<3

Share this post


Link to post
Share on other sites
Nova

I completly forgot about dll's. :lmao:

Tnx a million

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.