Fixed conf for vimacs new script
[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
10 [events]
11 # pass 'action code' to the script
12 # lid actions are: 1 lid-is-closing, 0 lid-is-opening
13 lid-toggle      /usr/pandora/scripts/op_lid.sh
14
15 [pndevmapperd]
16 # logging level 0 means to include debug; level 1 (regular), 2 (warnings), 3 (errors)
17 loglevel        1
18 minimum_separation      1       # 1 second minimum between a single event repeating
19
20 [battery]
21 # for LED-blinking when battery gets low
22 threshold          5            # in %age; at x%, we go into blink-mode as warning
23 check_interval     300          # in seconds to check threshold; should be a high 300s
24 blink_interval     2            # frequency of blink
25 blink_duration     50000        # how long a blink lasts, in uSecs
26 shutdown_threshold 1            # battery %age we force a shutdown (to save the SD!)
27 shutdown_script    /usr/pandora/scripts/op_battlow.sh