Project

General

Profile

Actions

Emulator Issues #100

closed

PAD_Initialize does not return the proper window handle

Added by laurence.muller over 16 years ago.

Status:
Fixed
Priority:
Normal
% 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.

Actions #1

Updated by Sonicadvance1 over 16 years ago

  • Operating system Windows added
Actions #2

Updated by XTra.KrazzY about 16 years ago

Has this been solved? Seems pretty simple..

Actions #3

Updated by Anonymous about 16 years ago

why would nJoy use DInput? it is SDL...

Actions #4

Updated by slink_3_ about 16 years ago

SDL doesn't support rumble.

Actions #5

Updated by sl1nk3.s over 15 years ago

  • Status changed from New to Work started

should not be a problem anymore since r2840

Actions #7

Updated by Anonymous over 13 years ago

  • Status changed from Work started to Fixed

Ignore this...Status:Verified was removed, changing to Fixed

Actions

Also available in: Atom PDF