c++ programming for joystick in windows
问题 i want to connect joystick to my c++ qt program in windows.I studied about programming with win32 api using the joystickapi library in microsoft guid for joystick program But I didn't understand exactly What should I do after checking the system compatibility? Completion description: my code for system compatibility: JOYINFO joyinfo; UINT wNumDevs, wDeviceID; BOOL bDev1Attached, bDev2Attached; void joyCapablitis(){ if((wNumDevs = joyGetNumDevs()) == 0) qDebug()<<"no driver available";