From f28d9d96a112a392d49660fa1a2551179c0d8d52 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 17 Apr 2016 11:23:54 -0700 Subject: [PATCH] Qt: Fix gcc-destroying --- src/platform/qt/InputProfile.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/platform/qt/InputProfile.h b/src/platform/qt/InputProfile.h index dc7ffd4cf..7180a70d1 100644 --- a/src/platform/qt/InputProfile.h +++ b/src/platform/qt/InputProfile.h @@ -69,12 +69,16 @@ private: {GamepadAxisEvent::Direction::NEUTRAL, -1}, {GamepadAxisEvent::Direction::NEUTRAL, -1}}, const KeyList axes = { - {}, {}, {}, {}, + { GamepadAxisEvent::Direction::NEUTRAL, -1 }, + { GamepadAxisEvent::Direction::NEUTRAL, -1 }, + { GamepadAxisEvent::Direction::NEUTRAL, -1 }, + { GamepadAxisEvent::Direction::NEUTRAL, -1 }, { GamepadAxisEvent::Direction::POSITIVE, 0 }, { GamepadAxisEvent::Direction::NEGATIVE, 0 }, { GamepadAxisEvent::Direction::NEGATIVE, 1 }, { GamepadAxisEvent::Direction::POSITIVE, 1 }, - {}, {}}, + { GamepadAxisEvent::Direction::NEUTRAL, -1 }, + { GamepadAxisEvent::Direction::NEUTRAL, -1 }}, const struct Coord& tiltAxis = { 2, 3 }, const struct Coord& gyroAxis = { 0, 1 }, float gyroSensitivity = 2e+09f);