Added lcd brightness up/down to evmapperd
[pandora-libraries.git] / deployment / etc / pandora / conf / eventmap
1
2 # Open Pandora
3 # Event-to-shscript map configuration
4
5 [keys]
6 # pass 'hold duration' to the script
7 pandora /usr/pandora/scripts/op_menu.sh
8 power   /usr/pandora/scripts/op_power.sh
9 lcdbrightdown   /usr/pandora/scripts/op_bright_down.sh
10 lcdbrightup     /usr/pandora/scripts/op_bright_up.sh
11
12 [events]
13 # pass 'action code' to the script
14 # lid actions are: 1 lid-is-closing, 0 lid-is-opening
15 lid-toggle      /usr/pandora/scripts/op_lid.sh
16
17 [pndevmapperd]
18 # logging level 0 means to include debug; level 1 (regular), 2 (warnings), 3 (errors)
19 loglevel        1
20 minimum_separation      1       # 1 second minimum between a single event repeating
21
22 [battery]
23 # for LED-blinking when battery gets low
24 threshold          5            # in %age; at x%, we go into blink-mode as warning
25 check_interval     90           # in seconds to check threshold; should be a high 300s
26 blink_interval     2            # frequency of blink
27 blink_duration     50000        # how long a blink lasts, in uSecs
28 shutdown_threshold 1            # battery %age we force a shutdown (to save the SD!)
29 shutdown_script    /usr/pandora/scripts/op_battlow.sh