Dead joystick

Started by
0 comments, last by Bo Mellberg 23 years, 1 month ago
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
Advertisement
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

This topic is closed to new replies.

Advertisement