• 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 ... 369 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
« Next Oldest | Next Newest »


Messages In This Thread
Inverting Mousebuttons? - NexXxus - 02-02-2010, 06:09 AM
RE: Inverting Mousebuttons? - DacoTaco - 02-02-2010, 07:17 AM
RE: Inverting Mousebuttons? - NexXxus - 02-02-2010, 07:56 AM
RE: Inverting Mousebuttons? - DacoTaco - 02-02-2010, 03:58 PM

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


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode