summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKoutheir Attouchi <koutheir@gmail.com>2024-06-08 15:27:04 -0400
committerWez Furlong <wez@wezfurlong.org>2024-06-09 06:47:24 -0700
commit2f12d47daacbb10f959c017570b530ecab599f00 (patch)
treed4dffa1fb6aeaedc9dbaa7629cdda3313ee3b28c /doc
parentd31226fe69908f6c03260cc3c10fe9d3fce283f1 (diff)
Added example configuration file for Evoluent VerticalMouse 4.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/evoluent-vertical-mouse-4/evoluent.pngbin0 -> 125108 bytes
-rw-r--r--doc/examples/evoluent-vertical-mouse-4/evremap.toml56
2 files changed, 56 insertions, 0 deletions
diff --git a/doc/examples/evoluent-vertical-mouse-4/evoluent.png b/doc/examples/evoluent-vertical-mouse-4/evoluent.png
new file mode 100644
index 0000000..1da30e2
--- /dev/null
+++ b/doc/examples/evoluent-vertical-mouse-4/evoluent.png
Binary files differ
diff --git a/doc/examples/evoluent-vertical-mouse-4/evremap.toml b/doc/examples/evoluent-vertical-mouse-4/evremap.toml
new file mode 100644
index 0000000..afb6774
--- /dev/null
+++ b/doc/examples/evoluent-vertical-mouse-4/evremap.toml
@@ -0,0 +1,56 @@
+device_name = "Kingsis Peripherals Evoluent VerticalMouse 4"
+
+# Order of mappings is important.
+
+################################################################################
+# Secondary functions, enabled by holding Button 6.
+################################################################################
+
+# Button 6 + Button 1 => Copy.
+[[remap]]
+input = ["BTN_FORWARD", "BTN_LEFT"]
+output = ["KEY_COPY"]
+
+# Button 6 + Button 2 => Paste.
+[[remap]]
+input = ["BTN_FORWARD", "BTN_MIDDLE"]
+output = ["KEY_PASTE"]
+
+# Button 6 + Button 3 => Ctrl + W.
+# KEY_Z is used instead of KEY_W, because my keyboard layout is AZERTY.
+[[remap]]
+input = ["BTN_FORWARD", "BTN_RIGHT"]
+output = ["KEY_LEFTCTRL", "KEY_Z"]
+
+# Button 6 => Disabled.
+# This is done to avoid confusion, because it is dedicated to enable
+# secondary functions.
+[[remap]]
+input = ["BTN_FORWARD"]
+output = []
+
+################################################################################
+# Primary functions.
+################################################################################
+
+# The middle finger => Right click.
+# Just like on a horizontal mouse.
+[[remap]]
+input = ["BTN_MIDDLE"]
+output = ["BTN_RIGHT"]
+
+# Button 3 => Escape.
+[[remap]]
+input = ["BTN_RIGHT"]
+output = ["KEY_ESC"]
+
+# The wheel button => Middle click.
+# Just like on a horizontal mouse.
+[[remap]]
+input = ["BTN_EXTRA"]
+output = ["BTN_MIDDLE"]
+
+# Button 5 => Enter.
+[[remap]]
+input = ["BTN_SIDE"]
+output = ["KEY_ENTER"]