Qt: Fix initial state of key mapping
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Feb 2016 23:31:54 -0800
2 files changed,
2 insertions(+),
3 deletions(-)
M
CHANGES
→
CHANGES
@@ -8,6 +8,7 @@ - OpenGL: Correct boolean vector strcmp strings for uniforms
- Wii: Fix tilting direction - SDL: Fix joystick initialization on BS - SDL: Fix potential joystick crash in games with rumble + - Qt: Fix initial state of key mapping Misc: - GBA: Slightly optimize GBAProcessEvents - Qt: Add preset for DualShock 4
M
src/platform/qt/GBAKeyEditor.cpp
→
src/platform/qt/GBAKeyEditor.cpp
@@ -254,9 +254,7 @@ void GBAKeyEditor::lookupBinding(const GBAInputMap* map, KeyEditor* keyEditor, GBAKey key) {
#ifdef BUILD_SDL if (m_type == SDL_BINDING_BUTTON) { int value = GBAInputQueryBinding(map, m_type, key); - if (value != GBA_KEY_NONE) { - keyEditor->setValueButton(value); - } + keyEditor->setValueButton(value); return; } #endif