diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 23:27:23 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 23:27:23 +0100 |
| commit | 9352995934adec8059077af241c35ccd1573bd80 (patch) | |
| tree | 60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /keymouse/files | |
| parent | ef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff) | |
| parent | 880bca260c4ce91554a49b2475232cf5c0ffd447 (diff) | |
| download | qipackages-fork-9352995934adec8059077af241c35ccd1573bd80.tar.gz | |
Conflicts:
links/Makefile
Diffstat (limited to 'keymouse/files')
| -rw-r--r-- | keymouse/files/keymouse.cfg | 37 | ||||
| -rwxr-xr-x | keymouse/files/keymouse.init | 7 |
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 +} |
