summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-08-08 14:59:05 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-08-11 10:33:02 -0500
commit90dd26397c87748f0693271d538ae0e37a1c67a0 (patch)
tree4e6c2a87d3014ad6e166577f8e324311082275c3
parent7135299a66ead59b9e58e71844331cee6204791f (diff)
downloadspack-90dd26397c87748f0693271d538ae0e37a1c67a0.tar.gz
spack-90dd26397c87748f0693271d538ae0e37a1c67a0.tar.bz2
spack-90dd26397c87748f0693271d538ae0e37a1c67a0.tar.xz
spack-90dd26397c87748f0693271d538ae0e37a1c67a0.zip
Fix qt patch
-rw-r--r--var/spack/repos/builtin/packages/qt/btn_trigger_happy.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/qt/btn_trigger_happy.patch b/var/spack/repos/builtin/packages/qt/btn_trigger_happy.patch
index 711e209136..e6a27d5fab 100644
--- a/var/spack/repos/builtin/packages/qt/btn_trigger_happy.patch
+++ b/var/spack/repos/builtin/packages/qt/btn_trigger_happy.patch
@@ -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());