summaryrefslogtreecommitdiff
path: root/keymouse/files
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2011-01-02 15:19:00 +0100
committerDavid Kühling <dvdkhlng@gmx.de>2011-01-02 15:19:00 +0100
commit9aaeb4623d3ff5746e665bc17914eefd292b7dcd (patch)
tree370db60ffdc2ef840b7d1124d5a392f93bba3c9d /keymouse/files
downloadqipackages-fork-9aaeb4623d3ff5746e665bc17914eefd292b7dcd.tar.gz
New OpenWrt package for GNU Octave. Experimental/probably still broken.grafted
Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days.
Diffstat (limited to 'keymouse/files')
-rw-r--r--keymouse/files/keymouse.cfg37
-rwxr-xr-xkeymouse/files/keymouse.init7
2 files changed, 44 insertions, 0 deletions
diff --git a/keymouse/files/keymouse.cfg b/keymouse/files/keymouse.cfg
new file mode 100644
index 0000000..50c2d8d
--- /dev/null
+++ b/keymouse/files/keymouse.cfg
@@ -0,0 +1,37 @@
+# Keymouse (C) 2008 Francesco Piccinno <stack.box@gmail.com> - BSD License
+# Example configuration
+
+# Global options
+device=/dev/input/event1
+udevice=/dev/uinput
+debug=0
+#dump=1
+dump=0
+touchscreen=0
+
+max accel=200
+max modes=6
+
+# 0 no notify 1 blocknum notify 2 exec notify
+notify=0
+notify exec=
+
+# Mapping (see /usr/include/linux/input.h for keycode or use dump option)
+modes=100,29,56
+bkeys=103,108,106,105,88,87,25
+
+# Actions
+# <action>=mod1:mod2
+
+up=103:0:
+down=108:0:
+right=106:0:
+left=105:0:
+rup=87:0:
+rdown=88:0:
+#lup=42:2:
+#ldown=56:1:
+click=88:1:
+rclick=87:1:
+3click=25:2:
+lock=25:1:
diff --git a/keymouse/files/keymouse.init b/keymouse/files/keymouse.init
new file mode 100755
index 0000000..ce93d17
--- /dev/null
+++ b/keymouse/files/keymouse.init
@@ -0,0 +1,7 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2008 OpenWrt.org
+START=43
+
+start() {
+ start-stop-daemon -b -S -x /usr/bin/keymouse -- /etc/keymouse.cfg 0
+}