From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- keymouse/files/keymouse.cfg | 37 +++++++++++++++++++++++++++++++++++++ keymouse/files/keymouse.init | 7 +++++++ 2 files changed, 44 insertions(+) create mode 100644 keymouse/files/keymouse.cfg create mode 100755 keymouse/files/keymouse.init (limited to 'keymouse/files') 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 - 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 +# =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 +} -- cgit v1.2.3