Fix qt patch
This commit is contained in:
parent
7135299a66
commit
90dd26397c
@ -8,10 +8,10 @@
|
||||
- m_buttonsMap[BTN_TRIGGER_HAPPY2] = QGamepadManager::ButtonRight;
|
||||
- m_buttonsMap[BTN_TRIGGER_HAPPY3] = QGamepadManager::ButtonUp;
|
||||
- m_buttonsMap[BTN_TRIGGER_HAPPY4] = QGamepadManager::ButtonDown;
|
||||
+ m_buttonsMap[BTN_TRIGGER_HAPPY1] = 0x2c0;
|
||||
+ m_buttonsMap[BTN_TRIGGER_HAPPY2] = 0x2c1;
|
||||
+ m_buttonsMap[BTN_TRIGGER_HAPPY3] = 0x2c2;
|
||||
+ m_buttonsMap[BTN_TRIGGER_HAPPY4] = 0x2c3;
|
||||
+ m_buttonsMap[0x2c0] = QGamepadManager::ButtonLeft;
|
||||
+ m_buttonsMap[0x2c1] = QGamepadManager::ButtonRight;
|
||||
+ m_buttonsMap[0x2c2] = QGamepadManager::ButtonUp;
|
||||
+ m_buttonsMap[0x2c3] = QGamepadManager::ButtonDown;
|
||||
|
||||
if (m_productId)
|
||||
m_backend->saveSettings(m_productId, QVariant());
|
||||
|
Loading…
Reference in New Issue
Block a user