diff options
author | Koen Kooi <koen@openembedded.org> | 2008-03-26 18:46:06 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-03-26 18:46:06 +0000 |
commit | 48fd147498115e7682153b9ec28f4ab0065a845e (patch) | |
tree | 86b0d7876538f6c5f2e73a82020864ac10e9d020 /packages/scummvm/files/om-gta01/openmoko-scummvm | |
parent | f76280c3bdee25e5126d68f3891bb240b3cd1ce9 (diff) | |
parent | f7147e250bbe3dfc84913aa7a16d58026d98ae90 (diff) |
merge of '1ba445dfd1a9b934962a4db388d6ab641b3f74e8'
and '8f2da0702f522e178a88e3c2dd8f65e05d0680a7'
Diffstat (limited to 'packages/scummvm/files/om-gta01/openmoko-scummvm')
-rwxr-xr-x | packages/scummvm/files/om-gta01/openmoko-scummvm | 19 |
1 files changed, 19 insertions, 0 deletions
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" |