Detect joystick menu for XInput

This commit is contained in:
erorcun committed 2021-02-07 19:50:17 +03:00
1 parent 425f360363
commit 675aef29cf
10 files changed
+112 -14

No files matched your search

+5
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;