From 71c7380f44b4b9bf01b730880d008b7a4e8a8e4e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 28 Dec 2005 20:56:49 +0000 Subject: [PATCH] device-neutral --- stepmania/src/ScreenTextEntry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenTextEntry.cpp b/stepmania/src/ScreenTextEntry.cpp index eb625dbefe..793e9066d0 100644 --- a/stepmania/src/ScreenTextEntry.cpp +++ b/stepmania/src/ScreenTextEntry.cpp @@ -231,8 +231,8 @@ void ScreenTextEntry::Input( const InputEventPlus &input ) else if( input.DeviceI.ToChar() >= ' ' ) { bool bIsHoldingShift = - INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_RSHIFT)) || - INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_LSHIFT)); + INPUTFILTER->IsBeingPressed( DeviceInput(input.DeviceI.device, KEY_RSHIFT)) || + INPUTFILTER->IsBeingPressed( DeviceInput(input.DeviceI.device, KEY_LSHIFT)); if ( bIsHoldingShift ) {