diff options
Diffstat (limited to 'packages/scummvm/files/om-gta01')
-rw-r--r-- | packages/scummvm/files/om-gta01/.mtn2git_empty | 0 | ||||
-rwxr-xr-x | packages/scummvm/files/om-gta01/openmoko-scummvm | 19 |
2 files changed, 19 insertions, 0 deletions
diff --git a/packages/scummvm/files/om-gta01/.mtn2git_empty b/packages/scummvm/files/om-gta01/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/scummvm/files/om-gta01/.mtn2git_empty diff --git a/packages/scummvm/files/om-gta01/openmoko-scummvm b/packages/scummvm/files/om-gta01/openmoko-scummvm new file mode 100755 index 0000000000..e8c5cb3984 --- /dev/null +++ b/packages/scummvm/files/om-gta01/openmoko-scummvm @@ -0,0 +1,19 @@ +#!/bin/sh + +# Save current AUX Key mapping +SAVE_KEY="$(xmodmap -pke | grep 'keycode 8')" + +# Map AUX Key to F5 +xmodmap -e "keycode 8 = F5" + +# Turn LCD feft +xrandr -o left + +# Start the scummvm in fullscreen mode +scummvm --fullscreen --themepath=/usr/share/scummvm/ + +# Turn LCD normal +xrandr -o normal + +# Restore the AUX Key mapping +xmodmap -e "$SAVE_KEY" |