From 8d40bee10caa2e34f6b3a6952534cc35f9485de0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 10 Jan 2005 00:52:04 +0000 Subject: [PATCH] fix shift-0 hold notes These #ifdef Xbox-specific hacks need to go. Making the entire editor code unreadable and hard to maintain is just not acceptable. --- stepmania/src/ScreenEdit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index 89f4ad1462..c23d976218 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -964,7 +964,8 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ continue; // skip #if !defined(XBOX) - const DeviceInput di(DEVICE_KEYBOARD, KEY_C1+n); + int b = n < 9? KEY_C1+n: KEY_C0; + const DeviceInput di(DEVICE_KEYBOARD, b); if( !INPUTFILTER->IsBeingPressed(di) ) #else