Salut moi aussi j'ai eu le meme souci en utilisant direct input pour un joystick mais maintenant je ne peux pas faire:
joystick.SetCooperativeLevel(
this,
CooperativeLevelFlags.NonExclusive|
CooperativeLevelFlags.Background);
Mon exception:
An unhandled exception of type 'Microsoft.DirectX.DirectInput.InputException' occurred in InterfaceRoburoc.exe
Additional information: Error in the application.
Mon device (joystick) est bien créé mais je ne peux pas modifier cette propriété.
Voilou.
Merci.
Fabou.
C'est trop de la boule heu... de la balle!!!