Added basic LED stuff to libpnd pnd_device
[pandora-libraries.git] / testdata / conf / eventmap
1
2 # Open Pandora
3 # Event-to-shscript map configuration
4
5 [keys]
6 a /usr/pandora/scripts/op_menu.sh
7
8 [events]
9 lid-toggle      /usr/pandora/scripts/op_lidtoggle.sh
10
11 [pndevmapperd]
12 # logging level 0 means to include debug; level 1 (regular), 2 (warnings), 3 (errors)
13 loglevel        1
14 minimum_separation      1       # 1 second minimum between a single event repeating
15
16 [battery]
17 # for LED-blinking when battery gets low
18 threshold          5            # in %age; at x%, we go into blink-mode as warning
19 check_interval     7            # in seconds to check threshold; should be a high 300s
20 blink_interval     2            # frequency of blink
21 blink_duration     50000        # how long a blink lasts, in uSecs