dolphin/Source/Plugins
Laurence Muller bcaa0d1d86 nJoy:
- Added some kind of rumble support (windows only, using direct input).
- Only usable for player one.
- Not customizable, fixed rumble strength.
- Due to some Dolphin bugs you need to initialize rumble support manually.

How to use:
- Disable the 'render to main window' in the video plugin (opengl or d3d).
- Start the game and wait a few seconds.
- When the game is running, press the 'half press' button once.
- Rumble support should now be enabled (if your joypad supports it).
- Confirmed to work with Crazy Taxi.

Dolphin bug:
When void PAD_Initialize(SPADInitialize _PADInitialize) is called, the render window does not excist yet. Therefor the value _PADInitialize.hWnd is incorrect.

In order to initalize rumble support, it is required to set the CooperativeLevel to "DISCL_EXCLUSIVE | DISCL_FOREGROUND". But without a proper hWnd this will fail.
So the trick I used here is, let the game start and create a window (and a hWnd). After that I set the CooperativeLevel.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@126 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 23:38:53 +00:00
..
Plugin_DSP_LLE Linux+MacOS: a Fix for someone have problems with compiling on a Mac, few fixes for DSP LLE plugin, I don't have files to test though 2008-07-29 23:59:21 +00:00
Plugin_DSP_NULL Mac plugin is now in mac/Plugins directory 2008-07-31 08:38:13 +00:00
Plugin_nJoy_SDL nJoy: 2008-08-01 23:38:53 +00:00
Plugin_PadDX9 removed VS2008 project files 2008-07-21 19:40:53 +00:00
Plugin_PadSimple Mac plugin is now in mac/Plugins directory 2008-07-31 08:38:13 +00:00
Plugin_VideoDX9 minor bug fixes for opengl plugin 2008-07-23 16:20:12 +00:00
Plugin_VideoOGL More linux... 2008-08-01 13:59:37 +00:00