From 5679d7e7976bba5452c82d8e84457de0885cfc52 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Wed, 30 Jun 2010 01:00:19 -0500 Subject: [PATCH] fix weird numpad input mapping in dance mode --- Docs/Changelog_sm-ssc.txt | 3 +++ src/GameManager.cpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Docs/Changelog_sm-ssc.txt b/Docs/Changelog_sm-ssc.txt index d32e54c045..e0404fbfa4 100644 --- a/Docs/Changelog_sm-ssc.txt +++ b/Docs/Changelog_sm-ssc.txt @@ -18,6 +18,9 @@ sm-ssc v1.0 Release Candidate 2 | 201007xx -------- * [ScreenDebugOverlay] add new metrics: LineStartY, LineSpacing, LineButtonX, LineFunctionX. +* Fix an odd mapping issue in dance mode where keypad 7 and 9 would control + up/down as well as upleft/upright. (Numpad 8 is now up and numpad 2 is now + down.) 20100629 -------- diff --git a/src/GameManager.cpp b/src/GameManager.cpp index afe8189c70..536c287ae5 100644 --- a/src/GameManager.cpp +++ b/src/GameManager.cpp @@ -112,8 +112,8 @@ static const AutoMappings g_AutoKeyMappings_Dance = AutoMappings ( AutoMappingEntry( 0, KEY_KP_PLUS, GAME_BUTTON_MENUDOWN, true ), AutoMappingEntry( 0, KEY_KP_C4, DANCE_BUTTON_LEFT, true ), AutoMappingEntry( 0, KEY_KP_C6, DANCE_BUTTON_RIGHT, true ), - AutoMappingEntry( 0, KEY_KP_C7, DANCE_BUTTON_UP, true ), - AutoMappingEntry( 0, KEY_KP_C9, DANCE_BUTTON_DOWN, true ), + AutoMappingEntry( 0, KEY_KP_C8, DANCE_BUTTON_UP, true ), + AutoMappingEntry( 0, KEY_KP_C2, DANCE_BUTTON_DOWN, true ), AutoMappingEntry( 0, KEY_KP_C7, DANCE_BUTTON_UPLEFT, true ), AutoMappingEntry( 0, KEY_KP_C9, DANCE_BUTTON_UPRIGHT, true ) );