forked from rbarrois/inputexec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.ini
More file actions
46 lines (40 loc) · 1.11 KB
/
example.ini
File metadata and controls
46 lines (40 loc) · 1.11 KB
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
; Example configuration file for inputexec
[DEFAULT]
; ---traceback : Include full stack trace on exception
#traceback =
## Source
[source]
; --source-file : The source to read from (e.g /dev/input/event0)
file = -
; --source-mode : Get shared/exclusive hold of the input device (evdev only)
; Options: exclusive, shared
mode = exclusive
## Formatting
[format]
; --format-pattern : Formatting pattern
pattern = {kind}.{symbol}
; --format-endline : End of line substring
endline = \n
## Action
[action]
; --action-mode : Action to perform on events
; Options: print, run_async, run_sync
mode = print
; --action-jobs : Number of jobs to run
jobs = 1
; --action-commands : Read input/command mappings from the ACTION_COMMANDS file, section [commands]
commands =
## Filtering events
[filter]
; --filter-kinds : Comma-separated list of event kinds to keep
kinds = keypress
## Logging
[logging]
; --logging-target : Logging target
; Options: file, null, stderr, syslog
target = stderr
; --logging-file : For 'file' target, write logs to FILE
file =
; --logging-level : Logging level
; Options: debug, error, info, warning
level = warning