aboutsummaryrefslogtreecommitdiff
path: root/linux/pedal.md
diff options
context:
space:
mode:
Diffstat (limited to 'linux/pedal.md')
-rw-r--r--linux/pedal.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/linux/pedal.md b/linux/pedal.md
new file mode 100644
index 00000000..acd0ceb8
--- /dev/null
+++ b/linux/pedal.md
@@ -0,0 +1,13 @@
+# Pedal
+
+With a PCSensor pedal and <https://github.com/rgerganov/footswitch>:
+
+```
+sudo footswitch -1 -m ctrl -2 -S '7F' -3 -m win -k m
+```
+
+Maps:
+
+* Left pedal to be a ctrl key
+* Center pedal to the toggle mute key
+* Right pedal to be Win+M (you can map this in Gnome to toggle mic status)