cleanup
This commit is contained in:
@@ -221,7 +221,7 @@ void ScreenTextEntry::Input( const InputEventPlus &input )
|
|||||||
|
|
||||||
if( input.type == IET_FIRST_PRESS )
|
if( input.type == IET_FIRST_PRESS )
|
||||||
{
|
{
|
||||||
if( input.DeviceI.button == KEY_BACK )
|
if( input.DeviceI == DeviceInput(DEVICE_KEYBOARD, KEY_BACK) )
|
||||||
{
|
{
|
||||||
BackspaceInAnswer();
|
BackspaceInAnswer();
|
||||||
}
|
}
|
||||||
@@ -232,7 +232,6 @@ void ScreenTextEntry::Input( const InputEventPlus &input )
|
|||||||
INPUTFILTER->IsBeingPressed( DeviceInput(input.DeviceI.device, KEY_LSHIFT));
|
INPUTFILTER->IsBeingPressed( DeviceInput(input.DeviceI.device, KEY_LSHIFT));
|
||||||
if( bIsHoldingShift )
|
if( bIsHoldingShift )
|
||||||
{
|
{
|
||||||
|
|
||||||
char c = (char)toupper( input.DeviceI.ToChar() );
|
char c = (char)toupper( input.DeviceI.ToChar() );
|
||||||
|
|
||||||
switch( c )
|
switch( c )
|
||||||
|
|||||||
Reference in New Issue
Block a user