mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-29 19:50:51 +01:00
bcaa0d1d86
- 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 |
||
---|---|---|
.. | ||
Core | ||
Plugins | ||
PluginSpecs | ||
Dolphin.sln |