Date:2010-11-20 15:57:10 (13 years 4 months ago)
Author:kyak
Commit:a1a68fc7afb414ff08275260f8314ce08e81ae32
Message:enable keymouse

Files: keymouse/Makefile (2 diffs)
keymouse/files/keymouse.cfg (1 diff)
keymouse/files/keymouse.init (1 diff)

Change Details

keymouse/Makefile
2121    SECTION:=utils
2222    CATEGORY:=Utilities
2323    URL:=http://keymouse.berlios.de
24    DEPENDS:=@BROKEN
2524endef
2625PKG_BUILD_DIR:=$(BUILD_DIR)/keymouse-$(PKG_VERSION)
2726
...... 
3534
3635endef
3736define Package/keymouse/install
38    $(INSTALL_DIR) $(1)/usr/bin
37    $(INSTALL_DIR) $(1)/usr/bin $(1)/etc $(1)/etc/init.d
3938    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/keymouse $(1)/usr/bin/
39    $(INSTALL_DATA) $(FILES_DIR)/keymouse.cfg $(1)/etc/
40    $(INSTALL_BIN) $(FILES_DIR)/keymouse.ini $(1)/etc/init.d/keymouse
4041endef
4142
4243$(eval $(call BuildPackage,keymouse))
keymouse/files/keymouse.cfg
1# Keymouse (C) 2008 Francesco Piccinno <stack.box@gmail.com> - BSD License
2# Example configuration
3
4# Global options
5device=/dev/input/event1
6udevice=/dev/uinput
7debug=0
8#dump=1
9dump=0
10touchscreen=0
11
12max accel=200
13max modes=6
14
15# 0 no notify 1 blocknum notify 2 exec notify
16notify=0
17notify exec=
18
19# Mapping (see /usr/include/linux/input.h for keycode or use dump option)
20modes=100,29,56
21bkeys=103,108,106,105,88,87,25
22
23# Actions
24# <action>=mod1:mod2
25
26up=103:0:
27down=108:0:
28right=106:0:
29left=105:0:
30rup=87:0:
31rdown=88:0:
32#lup=42:2:
33#ldown=56:1:
34click=88:1:
35rclick=87:1:
363click=25:2:
37lock=25:1:
keymouse/files/keymouse.init
1#!/bin/sh /etc/rc.common
2# Copyright (C) 2008 OpenWrt.org
3START=43
4
5start() {
6    start-stop-daemon -b -S -x /usr/bin/keymouse -- /etc/keymouse.cfg 0
7}

Archive Download the corresponding diff file



interactive