aboutsummaryrefslogtreecommitdiff
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