Archived

This topic is now archived and is closed to further replies.

Dead joystick

This topic is 6113 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I have an installed joystick (at least according to my control panel) but the joystick example doesn''t reflect the changes of the stick in Joystick[0] or Joystick[1]. The variable joy_installed is true so the initialization must work. Am I missing something? Thanks, /Bo

Share this post


Link to post
Share on other sites
Fixed it. Just rename all occurences of LPDIRECTINPUT and LPDIRECTINPUTDEVICE to LPDIRECTINPUT8 and LPDIRECTINPUTDEVICE8.

Dont forget to change &IID_IDirectInputDevice2 in QueryInterface to &IID_IDirectInputDevice8.

/Bo

Share this post


Link to post
Share on other sites