[SHR-U] Scummvm key binding

Fox Mulder Quakeman1 at gmx.net
Fri May 7 22:32:10 CEST 2010


Hi,

i installed scummvm_0.12.0_armv4t.ipk in shr-u and it uses a wrapper
script to start real scummvm. In this script it tries to bind the AUX
key to F5 before and bind original key to AUX after scummvm. But these
functions do not work. This key remapping is really needed when working
in fullscreen.

Here is the content from the script:
#!/bin/sh

# Save current AUX Key mapping
SAVE_KEY="$(xmodmap -pke | grep 'keycode 177')"

# Remove the Enlightenment binding for AUX
enlightenment_remote -binding-key-del ANY "Keycode-177" \
NONE 1 "simple_lock" ""

# Map AUX Key to F5
xmodmap -e "keycode 177 = F5"

# Turn LCD feft
xrandr -o left

# Start the scummvm in fullscreen mode
scummvm.real --fullscreen --themepath=/usr/share/scummvm/

# Turn LCD normal
xrandr -o normal

# Restore the AUX Key mapping
xmodmap -e "$SAVE_KEY"

# Restore Enlightenment mapping
enlightenment_remote -binding-key-add ANY "Keycode-177" \
NONE 1 "simple_lock" ""

When i try these commands by hand i see that keycode 177 has no function
listed (xmodmap -pke).
Second thing is that the command "enlightenment_remote" doesn't have an
option called "-binding-key-del".

Does anyone know how i could do the AUX key binding with shr-u to get
scummvm useable again? :)

Ciao,
     Rainer



More information about the community mailing list