opie-taskbar: OPIE startup: if touchscreen device is not available, use mouse.
authorPaul Sokolovsky <pmiscml@gmail.com>
Thu, 11 Jan 2007 05:01:28 +0000 (05:01 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Thu, 11 Jan 2007 05:01:28 +0000 (05:01 +0000)
* Tested on qemuarm vs h3900.

packages/opie-taskbar/opie-taskbar/opie

index 3320dbe..bfcfec2 100755 (executable)
@@ -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