summaryrefslogtreecommitdiff
path: root/packages/qtopia-phone
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-03-15 19:48:51 +0000
committerHolger Freyther <zecke@selfish.org>2008-03-15 19:48:51 +0000
commit7ae19771c6dc0f98120a0e30e4fb43bfe2ccfcbd (patch)
treec45b6ea2e66f591c6cb46eb6a5ec7200c5c60d56 /packages/qtopia-phone
parent7b10995373f19ff40e51f1ea5021d6182fae243f (diff)
Qtopia/X11: Use keycodes that exist on our target
Diffstat (limited to 'packages/qtopia-phone')
-rw-r--r--packages/qtopia-phone/qtopia-phone-x11/Xsession.d/99qtopia44
1 files changed, 22 insertions, 22 deletions
diff --git a/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/99qtopia b/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/99qtopia
index 0496deff86..88be2061dc 100644
--- a/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/99qtopia
+++ b/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/99qtopia
@@ -1,34 +1,34 @@
#!/bin/sh
+# xmodmap to allow the soft-menu to work
+xmodmap -e "keycode 180 = 0x11000601"
+xmodmap -e "keycode 181 = 0x11000602"
+xmodmap -e "keycode 182 = 0x11000603"
+xmodmap -e "keycode 183 = 0x11000604"
+xmodmap -e "keycode 184 = 0x11000605"
+xmodmap -e "keycode 185 = 0x11000606"
+xmodmap -e "keycode 186 = 0x11000607"
+xmodmap -e "keycode 187 = 0x11000608"
+xmodmap -e "keycode 188 = 0x11000609"
+xmodmap -e "keycode 189 = 0x1100060A"
+xmodmap -e "keycode 190 = 0x1100060B"
+xmodmap -e "keycode 191 = 0x1100060B"
+xmodmap -e "keycode 192 = 0x1100060A"
+xmodmap -e "keycode 193 = 0x1100060C"
+xmodmap -e "keycode 194 = 0x1100060D"
+xmodmap -e "keycode 195 = 0x1100060E"
+xmodmap -e "keycode 196 = 0x1100060F"
+xmodmap -e "keycode 197 = 0x11000610"
+xmodmap -e "keycode 198 = 0x1008ff26"
+
# path setup
export QPEDIR=/opt/Qtopia
export PATH=$QPEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QPEDIR/lib:$LD_LIBRARY_PATH
-#tell how to inform illume on incoming phone calls
+#tell Qtopia how to inform illume on incoming phone calls
#export ILLUME_PHONE_CALL=
-# xmodmap to allow the soft-menu to work
-xmodmap -e "keycode 223 = 0x11000601"
-xmodmap -e "keycode 224 = 0x11000602"
-xmodmap -e "keycode 225 = 0x11000603"
-xmodmap -e "keycode 226 = 0x11000604"
-xmodmap -e "keycode 227 = 0x11000605"
-xmodmap -e "keycode 228 = 0x11000606"
-xmodmap -e "keycode 229 = 0x11000607"
-xmodmap -e "keycode 230 = 0x11000608"
-xmodmap -e "keycode 231 = 0x11000609"
-xmodmap -e "keycode 232 = 0x1100060A"
-xmodmap -e "keycode 232 = 0x1100060B"
-xmodmap -e "keycode 233 = 0x1100060B"
-xmodmap -e "keycode 232 = 0x1100060A"
-xmodmap -e "keycode 234 = 0x1100060C"
-xmodmap -e "keycode 235 = 0x1100060D"
-xmodmap -e "keycode 236 = 0x1100060E"
-xmodmap -e "keycode 237 = 0x1100060F"
-xmodmap -e "keycode 238 = 0x11000610"
-xmodmap -e "keycode 239 = 0x1008ff26"
-
# Now start Qtopia
exec qpe