Debian Codegraph @

doc/examples/evoluent-vertical-mouse-4/evremap.toml

raw
1 device_name = "Kingsis Peripherals Evoluent VerticalMouse 4"
2
3 # Order of mappings is important.
4
5 ################################################################################
6 # Secondary functions, enabled by holding Button 6.
7 ################################################################################
8
9 # Button 6 + Button 1 => Copy.
10 [[remap]]
11 input = ["BTN_FORWARD", "BTN_LEFT"]
12 output = ["KEY_COPY"]
13
14 # Button 6 + Button 2 => Paste.
15 [[remap]]
16 input = ["BTN_FORWARD", "BTN_MIDDLE"]
17 output = ["KEY_PASTE"]
18
19 # Button 6 + Button 3 => Ctrl + W.
20 # KEY_Z is used instead of KEY_W, because my keyboard layout is AZERTY.
21 [[remap]]
22 input = ["BTN_FORWARD", "BTN_RIGHT"]
23 output = ["KEY_LEFTCTRL", "KEY_Z"]
24
25 # Button 6 => Disabled.
26 # This is done to avoid confusion, because it is dedicated to enable
27 # secondary functions.
28 [[remap]]
29 input = ["BTN_FORWARD"]
30 output = []
31
32 ################################################################################
33 # Primary functions.
34 ################################################################################
35
36 # The middle finger => Right click.
37 # Just like on a horizontal mouse.
38 [[remap]]
39 input = ["BTN_MIDDLE"]
40 output = ["BTN_RIGHT"]
41
42 # Button 3 => Escape.
43 [[remap]]
44 input = ["BTN_RIGHT"]
45 output = ["KEY_ESC"]
46
47 # The wheel button => Middle click.
48 # Just like on a horizontal mouse.
49 [[remap]]
50 input = ["BTN_EXTRA"]
51 output = ["BTN_MIDDLE"]
52
53 # Button 5 => Enter.
54 [[remap]]
55 input = ["BTN_SIDE"]
56 output = ["KEY_ENTER"]