dolphin/Source/Plugins/Plugin_nJoy_SDL
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
..
Res removed win32 gui from the plugin. 2008-10-05 23:04:35 +00:00
Src 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
Plugin_nJoy_SDL.vcproj revert to r4531, but keep the changes from the following revisions: 4533,4550-4551,4556-4559 2009-11-14 17:08:32 +00:00
readme.txt get rid of the '¯' chars in source code...non ascii chars are not really good to have floating around for no reason. http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Non-ASCII_Characters#Non-ASCII_Characters 2009-09-08 16:07:13 +00:00

nJoy v0.3 by Falcon4ever 2008
A Dolphin Compatible Input Plugin
Copyright (C) 2003 Dolphin Project.

Changelog
==========================================================================

0.3: 3nd version of nJoy
 - Release: July 2008
 - Support for four players
 - Misc. improvements

0.2: 2nd version of nJoy
 - Release: 14th July 2005
 - Now using SDL instead of DirectInput9
 - Config/INI support
 - Adjustable deadzone
 - First public release

0.1: First version of nJoy
 - Private Release: january 2005
 - Using DirectInput9
 - Specially made for the Logitech Rumblepad 2, but other joypads work too
 - Advanced debug window, activated during gameplay
 - No deadzone configurable
 - No config/Ini
  
The Author
==========================================================================
* Falcon4ever (nJoy@falcon4ever.com)

System and Software Requirements	
==========================================================================
Dolphin 
  The latest Dolphin release, avaible at www.dolphin-emu.com

SDL.dll	(SDL-1.2.13)
  (included with this release) 
  latest version avaible at www.libsdl.org

A Joystick
  A Windows 9x compatible input device


Plugin Information
==========================================================================
nJoy was written in C++, compiled with Microsoft Visual Studio 2005 Professional Edition. 
nJoy uses SDL for joysticks, mouse and keyboard. 
For the graphical interface plain Win32 code was used.

How to install
==========================================================================
Just unzip the content of the zipfile to your dolphin plugin dir and place
sdl.dll in the root dir.

example config:
[C:]
 |
 +-Dolphin         Dir
  +-DolphinWx.exe  File
  +-SDL.dll        File
  |
  +-Plugins        Dir
   +-nJoy.dll      File


FAQ
==========================================================================

What's SDL???
  SDL is the Simple DirectMedia Layer written by Sam Lantinga.
  It provides an API for audio, video, input ...
  For more information go to http://www.libsdl.org/

Where can I download the latest releases??? 
  nJoy will be released @ www.multigesture.net

Can I mirror this file???
   Sure, just don't forget to add a link to:
   www.multigesture.net OR www.dolphin-emu.com
   --------------------    -------------------
Why should I use nJoy instead of the default input plugin???
  At this moment the default plugin only supports keyboard input.
  nJoy supports Joysticks. And besides that, if you have an GC-adapter
  you can use your original GC controllers with dolphin !

Could you add [insert feature here] please???
  no.

But perhaps...
  NO!

Hmm... There is coming smoke out of my pc, wtf?
  err, this plugin comes without any warranty,
  use it at own risk :)

What should I do if my question isn't listed here???
  Just panic, call 911 or leave a message on:
  (1) Emutalk http://www.emutalk.net/forumdisplay.php?f=100
  (2) NGemu http://forums.ngemu.com/dolphin-discussion/

Thanks / Greetings
==========================================================================

Special Thanks too:
F|RES & ector

Greetings too:
`plot`, Absolute0, Aprentice, Bositman, Brice, ChaosCode, CKemu, 
CoDeX, Dave2001, dn, drk||Raziel, Florin, Gent, Gigaherz, Hacktarux, 
icepir8, JegHegy, Linker, Linuzappz, Martin64, Muad, Knuckles, Raziel, 
Refraction, Rudy_x, Shadowprince, Snake785, Saqib, vEX, yaz0r, 
Zilmar, Zenogais and ZeZu.

AAaannd everyone else I forgot ;)...