Actions
Emulator Issues #100
closedPAD_Initialize does not return the proper window handle
% Done:
0%
Operating system:
Windows
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
Description
Description in rev r126
http://code.google.com/p/dolphin-emu/source/detail?r=126
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 (in nJoy) is, let the game start and create a
window (and a hWnd). After that I set the CooperativeLevel.
Updated by XTra.KrazzY almost 16 years ago
Has this been solved? Seems pretty simple..
Updated by Anonymous almost 16 years ago
why would nJoy use DInput? it is SDL...
Updated by sl1nk3.s over 15 years ago
- Status changed from New to Work started
should not be a problem anymore since r2840
Updated by Anonymous over 13 years ago
- Status changed from Work started to Fixed
Ignore this...Status:Verified was removed, changing to Fixed
Actions