Last active
May 14, 2018 22:00
-
-
Save parkerlreed/b601f7aff72d2c18ada1b9ade51c7fdb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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 = /dev/input/by-id/usb-MICROSOFT_SAM_0.1.0000-if01-event-mouse | |
; --source-mode : Get shared/exclusive hold of the input device (evdev only) | |
; Options: exclusive, shared | |
mode = shared | |
## 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 = run_async | |
; --action-jobs : Number of jobs to run | |
jobs = 3 | |
; --action-commands : Read input/command mappings from the ACTION_COMMANDS file, section [commands] | |
commands = surface-pro.ini | |
## Filtering events | |
[filter] | |
; --filter-kinds : Comma-separated list of event kinds to keep | |
kinds = keypress,keyhold | |
## 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[commands] | |
keypress.KEY_LEFTMETA = xdotool key Super_L | |
keypress.KEY_VOLUMEDOWN = xdotool key XF86AudioLowerVolume | |
keypress.KEY_VOLUMEUP = xdotool key XF86AudioRaiseVolume | |
keyhold.KEY_VOLUMEDOWN = xdotool key XF86AudioLowerVolume | |
keyhold.KEY_VOLUMEUP = xdotool key XF86AudioRaiseVolume |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment