Detect joystick menu for XInput

This commit is contained in:
erorcun
2021-02-05 17:51:57 +03:00
parent 425f360363
commit 675aef29cf
10 changed files with 112 additions and 14 deletions

View File

@@ -326,6 +326,11 @@ uint32 CControllerConfigManager::ms_padButtonsInited = 0;
void CControllerConfigManager::InitDefaultControlConfigJoyPad(uint32 buttons)
{
#ifdef XINPUT
// No manual bindings for you, honey.
return;
#endif
m_bFirstCapture = true;
uint32 btn = buttons;