dolphin/Source/Plugins/Plugin_nJoy_SDL/Src
fgfemperor 64167bcb60 Now you can switch between Emulated and Real WiiMotes, connect more Real Wiimotes and even pair them up (if you have MS BT Stack) during gameplay!
All you gotta do is Pause the emulation! That's useful for when your batteries run out during gameplay, for example...

But if you change the WiiMote source (between Emulated, Real or Inactive) you must disconnect and reconnect (Menu Tools -> Connect WiiMote) the WiiMotes affected by the change...

Thanks to jack.fr0st who did all the emulation state notification work!

Now every plugin has a way to know the current emulation state (paused, stopped or playing)

@ayuanx: I thought about doing a PostMessage(g_WiimoteInitialize.hWnd, WM_USER, WIIMOTE_DISCONNECT, current_number); so that the user gets asked to reconnect that WiiMote, trying to avoid having to disconnect and reconnect, but it didn't work because shooting that message only asks to reconnect, doesn't do a disconnect... Do you have any ideas on how to accomplish that?

Also, if anyone could check if Issue 1916 is finally fixed... Or at least when is the cursor being hidden or not...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4789 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-06 19:26:52 +00:00
..
GUI Fixed Issue 1915 2010-01-02 09:05:33 +00:00
Config.cpp Simple fix for the config loading issue in r4760 2009-12-31 20:58:14 +00:00
Config.h revert to r4531, but keep the changes from the following revisions: 4533,4550-4551,4556-4559 2009-11-14 17:08:32 +00:00
ReRecording.cpp Fix a small misspell in OGL config, Fix the toggle fullscreen button when rendering to separate window + a weird issue related to rendering to main. 2009-10-24 00:18:21 +00:00
Rumble.cpp Rearranged EmuWiimote & nJoy. Wow they can share one pad at the same time, and they also can be enabled/disabled separately. 2009-12-14 02:23:14 +00:00
SConscript Fix crazy svn changing trunk on last commit 2009-02-10 14:02:01 +00:00
nJoy.cpp Now you can switch between Emulated and Real WiiMotes, connect more Real Wiimotes and even pair them up (if you have MS BT Stack) during gameplay! 2010-01-06 19:26:52 +00:00
nJoy.h Small code cleanup 2010-01-01 03:19:46 +00:00