• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 329 330 331 332 333 ... 368 Next »

Inverting Mousebuttons?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Inverting Mousebuttons?
02-02-2010, 06:09 AM (This post was last modified: 02-02-2010, 06:23 AM by NexXxus.)
#1
NexXxus Offline
Member
***
Posts: 65
Threads: 5
Joined: Apr 2009
I'm currently playing Link's Crossbow training on Dolphin, it works like a dream :p

But i like to have Fire on the left mouse button, so:

LMB = B
RMB = A

where can i change this?

I also tried switching the mousebuttons in Windows, doesn't work in dolphin.


edit:

forget about my post, just figure it out:

in Plugin_wiimote/emulated wiimote/fillreport.cpp

change:

Code:
#ifdef _WIN32
        if ((Key == EWM_SHAKE && GetAsyncKeyState(VK_MBUTTON))
            || (Key == EWM_A && GetAsyncKeyState(VK_LBUTTON))
            || (Key == EWM_B && GetAsyncKeyState(VK_RBUTTON)))
            Ret = 1;
#endif

to

Code:
#ifdef _WIN32
        if ((Key == EWM_SHAKE && GetAsyncKeyState(VK_MBUTTON))
            || (Key == EWM_A && GetAsyncKeyState(VK_RBUTTON))
            || (Key == EWM_B && GetAsyncKeyState(VK_LBUTTON)))
            Ret = 1;
#endif

and rebuild the wiimote plugin only. thats it Wink
Find
Reply
02-02-2010, 07:17 AM
#2
DacoTaco Offline
His royal bitchness Tacoboy
*******
Moderators
Posts: 1,134
Threads: 31
Joined: Mar 2009
...you could just swap buttons in windows or use a program to do that for you...
[Image: PeachSig.jpg]
[Image: 566286.png]
[Image: 2280403.png]
Website Find
Reply
02-02-2010, 07:56 AM
#3
NexXxus Offline
Member
***
Posts: 65
Threads: 5
Joined: Apr 2009
as you can read above, changing it in windows doesn't affect dolphin.
Perhaps all games and programs which using Direct Input.
Find
Reply
02-02-2010, 03:58 PM
#4
DacoTaco Offline
His royal bitchness Tacoboy
*******
Moderators
Posts: 1,134
Threads: 31
Joined: Mar 2009
(02-02-2010, 07:56 AM)NexXxus Wrote: as you can read above, changing it in windows doesn't affect dolphin.
Perhaps all games and programs which using Direct Input.

use a program then Tongue
[Image: PeachSig.jpg]
[Image: 566286.png]
[Image: 2280403.png]
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode