-
Notifications
You must be signed in to change notification settings - Fork 2
/
default-config.ini
64 lines (50 loc) · 2.84 KB
/
default-config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
### Safety timeout in millis to turn off the flashlight/torch
torchAutoShutOffTimeMs=300000
### Max time to wait after a click and before another click to call it 'double'
doubleClickDelayMs=400
### Max time to wait after two clicks to call it 'triple'
trebleClickDelayMs=600
### Max time to wait between pressing and releasing to call it a 'long'
longClickDelayMs=400
### Max time to wait after receiving a dbus button before processing pattern
dbusPatternDelayMs=800
### Change to 1 to disable direct camera stuff (quickSnap, torchOn, torchOff)
cameraDisabled=0
### Hold Volume+ for flashlight/torch on standby, release to stop
action=torchOn,volumeUp,longClickStart,screenLocked
action=torchOff,volumeUp,longClickStop,screenLocked
### Take a picture using N950 camera button, from any screen
### quickSnap takes flash mode: auto, manual, on, off, torch
action=quickSnap(auto),cameraButton,singleClick,always
### Default music palyer controls for standby screen
action=musicPlayPause,volumeUp,singleClick,screenLocked
action=musicNext,volumeDown,singleClick,screenLocked
action=musicPrev,volumeDown,doubleClick,screenLocked
### Hold Volume+ in camera app to focus, release to take a picture
action=clickCameraFocus,volumeUp,longClickStart,cameraAppFocused
action=clickCameraSnap,volumeUp,longClickStop,cameraAppFocused
#Double-click power button to save screenshot to /home/user/MyDocs/Pictures
action=screenShot,powerButton,doubleClick,screenLocked
### Tap Volume+ in camera app to take a picture
action=clickCameraSnap,volumeUp,singleClick,cameraAppFocused
### Focus camera in camera app when covering proximity sensor
action=clickCameraFocus,proximitySensor,proximityEnter,cameraAppFocused
action=tap(69x67,69x67),volumeUp,singleClick,appFocused(frontcameravideo)
action=tap(802x253,802x253),volumeUp,singleClick,appFocused(rawcam)
### Additional Action Examples:
### tap calls 'xresponse --drag', which simulates clicking/swiping/dragging
### {coordinates are (YxX), measured from TOP RIGHT corener of the screen}
### appFocused matches against the name of the executable
### e.g.: '/usr/bin/camera-ui' or just 'camera-ui'
#action=tap(69x67,69x67),volumeUp,singleClick,appFocused(frontcameravideo)
#action=tap(802x253,802x253),volumeUp,singleClick,appFocused(rawcam)
#action=tap(796x240-796x100*200+5),volumeUp,longClickStart,appFocused(cameraplus)
#action=tap(796x240,796x240),volumeUp,longClickStop,appFocused(cameraplus)
#action=tap(796x240,796x240),volumeUp,singleClick,appFocused(cameraplus)
### Start a terminal when 'stop-cd' button is pushed on a bluetooth headset
### Cmd parameter can be any shell command
#action=cmd(meego-terminal -n),dbus(stop-cd),dbusMessage,always
#quickSnapShutterSound=/home/user/MyDocs/snap-shutter.wav
#quickSnapSaveSound=/home/user/MyDocs/snap-save.wav
#quickSnapShutterLedPattern=doubleblink
#quickSnapSaveLedPattern=on, 500ms, 150led, 500ms, off