summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-01-11 05:01:28 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-01-11 05:01:28 +0000
commita5bfba15d1d4bfb1f2691d1d8fa47a6511dcccf7 (patch)
tree904a61a37300c42646d143eace9d34e8adf3c981
parenta027f653cc07ce7c844c20c769b4b4d0f5b56e01 (diff)
opie-taskbar: OPIE startup: if touchscreen device is not available, use mouse.
* Tested on qemuarm vs h3900.
-rwxr-xr-xpackages/opie-taskbar/opie-taskbar/opie4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/opie-taskbar/opie-taskbar/opie b/packages/opie-taskbar/opie-taskbar/opie
index 3320dbe7c5..bfcfec2785 100755
--- a/packages/opie-taskbar/opie-taskbar/opie
+++ b/packages/opie-taskbar/opie-taskbar/opie
@@ -16,6 +16,10 @@ fi
. /etc/profile
+if [ ! -e $TSLIB_TSDEVICE ]; then
+ export QWS_MOUSE_PROTO=MouseMan:/dev/input/mice
+fi
+
for conf in $OPIEDIR/etc/skel/*.conf; do
conf_basename=`basename $conf`
if [ ! -e "$HOME/Settings/$conf_basename" ] ; then