e779f084403b3a1a60dcbb3cfc0e4f2c68047420
[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 b /usr/pandora/scripts/op_menu.sh 3
8 hold            TOGGLE_HOLD
9
10 [events]
11 lid-toggle      /usr/pandora/scripts/op_lidtoggle.sh
12
13 [pndevmapperd]
14 # logging level 0 means to include debug; level 1 (regular), 2 (warnings), 3 (errors)
15 loglevel        1
16 minimum_separation      1       # 1 second minimum between a single event repeating
17
18 [battery]
19 # for LED-blinking when battery gets low
20 threshold          10           # in %age; at x%, we go into blink-mode as warning
21 check_interval     7            # in seconds to check threshold; should be a high 300s
22 blink_interval     2            # frequency of blink
23 blink_duration     50000        # how long a blink lasts, in uSecs
24 shutdown_threshold 3            # battery %age we force a shutdown (to save the SD!)
25 shutdown_script    /usr/pandora/scripts/op_shutdown.sh