|
[C++] Swap Mouse Buttons
|
|
07-12-2011, 01:48 AM
|
|||
|
|||
|
[C++] Swap Mouse Buttons
Here is a code in C++ to reverse mouse buttons.
Code: #include <windows.h> |
|||
|
07-12-2011, 01:55 AM
(This post was last modified: 07-12-2011 01:55 AM by digifly.)
|
|||
|
|||
|
RE: [C++] Swap Mouse Buttons
I'm just thinking about what fun I could have putting this on the schools computers... naw, I wouldn't do that... they'd never work out what's wrong... now my Dad's pc, different story 3: )
If you like my posts, please give my rep!
|
|||
|
07-12-2011, 02:01 AM
|
|||
|
|||
|
RE: [C++] Swap Mouse Buttons
LOL, this is just the same as going in the mouse properties in the Windows Control Panel and activating the left-handed mouse mode.
Actually the buttons are swapped, but only if you hold the mouse with the right hand: if you hold it with the left hand, the effect is gone (for left-handed people, the "right click menu" is achieved using the left button, that's why we should call that menu "context menu") Inverting the mouse directions (up is down, left is right) is muuuch fun. But it takes more work than editing a registry entry or going to the Control Panel
My blog |
|||
|
07-12-2011, 02:59 AM
|
|||
|
|||
RE: [C++] Swap Mouse Buttons
(07-12-2011 01:55 AM)digifly Wrote: I'm just thinking about what fun I could have putting this on the schools computers... naw, I wouldn't do that... they'd never work out what's wrong... now my Dad's pc, different story 3: ) Poor Dad ![]() (07-12-2011 02:01 AM)gbl08ma Wrote: LOL, this is just the same as going in the mouse properties in the Windows Control Panel and activating the left-handed mouse mode. Thats true , But when you select left-handed mode it's easier for your victim to bring it back to right-handed mode .
|
|||
|
07-12-2011, 03:27 AM
|
|||
|
|||
|
RE: [C++] Swap Mouse Buttons
I think that when you edit that registry entry the C++ code edits, the setting on the Control Panel also changes. All that changing the setting on the CP does is editing that registry edit, I think.
My blog |
|||
|
07-12-2011, 03:33 AM
|
|||
|
|||
| RE: [C++] Swap Mouse Buttons | |||
|
07-12-2011, 06:51 AM
|
|||
|
|||
RE: [C++] Swap Mouse Buttons
(07-12-2011 03:27 AM)gbl08ma Wrote: I think that when you edit that registry entry the C++ code edits, the setting on the Control Panel also changes. All that changing the setting on the CP does is editing that registry edit, I think. That's correct. Central registries suck - there is something you can bash windows about.
|
|||
|
07-28-2011, 03:00 PM
|
|||
|
|||
|
RE: [C++] Swap Mouse Buttons
It is a script that changes Windows Registry.
I can also do it via Control Panel. It's boring! But free VPS is not! LOL |
|||
|
07-28-2011, 04:42 PM
|
|||
|
|||
RE: [C++] Swap Mouse Buttons
(07-28-2011 03:00 PM)m13253 Wrote: It is a script that changes Windows Registry. Of course, free VPS's aren't boring. You'll get one soon. Nice script. It's so much funnnn (fun xD). Patience has a limit and if you choose to be patient beyond this limit then it causes anger.
|
|||
|
« Next Oldest | Next Newest »
|
| User(s) browsing this thread: |
| 1 Guest(s) |









