aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenEditSub.pas
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-05 12:35:19 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-05 12:35:19 +0000
commit3043d3db91c3a541881aa951bbd4f8ccb5e3ce40 (patch)
treee15bfb38ab7020e2f16581dcb822cfd3bbb23f49 /Game/Code/Screens/UScreenEditSub.pas
parent5f4bffbda4942287ddef7ee02fae736901ede1dc (diff)
downloadusdx-3043d3db91c3a541881aa951bbd4f8ccb5e3ce40.tar.gz
usdx-3043d3db91c3a541881aa951bbd4f8ccb5e3ce40.tar.xz
usdx-3043d3db91c3a541881aa951bbd4f8ccb5e3ce40.zip
modified ParseInput so Backspace will perform same function as ESC in most screens ( Except where text input is required, and backspace is used for text input )
This has been done, so that when used with Windows Media Center IR Remotes ( needs SDL 1.2 dll at runtime ) users can navigate throug the game without sitting in front of the PC keyboard. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@370 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenEditSub.pas8
1 files changed, 6 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenEditSub.pas b/Game/Code/Screens/UScreenEditSub.pas
index 9ca45f55..1d5cc66d 100644
--- a/Game/Code/Screens/UScreenEditSub.pas
+++ b/Game/Code/Screens/UScreenEditSub.pas
@@ -94,7 +94,9 @@ begin
If (PressedDown) then begin // Key Down
case PressedKey of
- SDLK_ESCAPE:
+
+ SDLK_ESCAPE,
+ SDLK_BACKSPACE :
begin
FadeTo(@ScreenSong);
end;
@@ -565,7 +567,9 @@ begin
If (PressedDown) Then
begin // Key Down
case PressedKey of
- SDLK_ESCAPE:
+
+ SDLK_ESCAPE,
+ SDLK_BACKSPACE :
begin
FadeTo(@ScreenSong);
end;