This commit is contained in:
Glenn Maynard
2006-01-28 23:19:26 +00:00
parent c52ab6fa5e
commit 0fe14c6940
+2 -3
View File
@@ -221,7 +221,7 @@ void ScreenTextEntry::Input( const InputEventPlus &input )
if( input.type == IET_FIRST_PRESS )
{
if( input.DeviceI.button == KEY_BACK )
if( input.DeviceI == DeviceInput(DEVICE_KEYBOARD, KEY_BACK) )
{
BackspaceInAnswer();
}
@@ -230,9 +230,8 @@ void ScreenTextEntry::Input( const InputEventPlus &input )
bool bIsHoldingShift =
INPUTFILTER->IsBeingPressed( DeviceInput(input.DeviceI.device, KEY_RSHIFT)) ||
INPUTFILTER->IsBeingPressed( DeviceInput(input.DeviceI.device, KEY_LSHIFT));
if ( bIsHoldingShift )
if( bIsHoldingShift )
{
char c = (char)toupper( input.DeviceI.ToChar() );
switch( c )