summaryrefslogtreecommitdiff
path: root/packages/scummvm/files/om-gta01
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2008-03-26 13:59:50 +0000
committerGraeme Gregory <dp@xora.org.uk>2008-03-26 13:59:50 +0000
commit9cb14015c6fb87732da5bb5f35b45fb1a0774a3f (patch)
treec650c00ded8abecc05b76fa0592c37ccb6b01a14 /packages/scummvm/files/om-gta01
parent0ba1b284a1d780c7c2948cb994e53d607d124611 (diff)
fic-gta0? : renamed fic-gta0? to om-gta0? to reflect true name of device
Diffstat (limited to 'packages/scummvm/files/om-gta01')
-rw-r--r--packages/scummvm/files/om-gta01/.mtn2git_empty0
-rwxr-xr-xpackages/scummvm/files/om-gta01/openmoko-scummvm19
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"