aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 7b6bca773beb4acd58d3a60db9ec90ac6b253fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
kblightd
========

keyboard backlight daemon for the cat s22

no warranty. if it blows up or starts screaming in latin, call a priest and
leave me out of it.

how to use
----------
1. install armv7 gnu crosscompiler. ask jeeves...
2. edit src/config.h:
	DEBOUNCE & THREAD_WAIT are extraneous. ignore them or have fun.

	BACKLIGHT_TIME is to be set to the time for which the backlight should be on
	after a keypress. use SEC for seconds, MS for milliseconds, or no unit
	(microseconds).

	KEYBOARD_FILE is to be set to the devfs file used for the keypad's evdev.

	BACKLIGHT_FILE is to be set to the sysfs file used for the keypad's light.

	MAX_BRIGHTNESS should be self explanatory.

	if IGNORE_RELEASE is set to 1, only press events will trigger the backlight
	timer. otherwise, all events (press, hold, and release) will trigger the
	timer.

license
-------
wtfpl, i guess?

  ~ spv