aboutsummaryrefslogtreecommitdiff
path: root/blog
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2026-02-22 13:08:48 +0100
committeralex <alex@pdp7.net>2026-02-22 13:08:48 +0100
commit6db817a76447f015c69a6e00d686e637f47d3574 (patch)
treeca140ada58e1fcef3fc1a342af29c22c019d0aac /blog
parentf37abef7167e88969350414b42ebf07c1df7f9b1 (diff)
Move footswitch configuration to misc Linux stuff
Diffstat (limited to 'blog')
-rw-r--r--blog/content/notes/tech/misc_linux_stuff.gmi14
1 files changed, 14 insertions, 0 deletions
diff --git a/blog/content/notes/tech/misc_linux_stuff.gmi b/blog/content/notes/tech/misc_linux_stuff.gmi
index 334b603e..87569146 100644
--- a/blog/content/notes/tech/misc_linux_stuff.gmi
+++ b/blog/content/notes/tech/misc_linux_stuff.gmi
@@ -70,3 +70,17 @@ Drawbacks:
* If IMAPFilter stops working, email stops being forwarded without warning.
=> https://ñix.es/cgit/alex/alexpdp7.git/tree/scripts/p7s/mail/__init__.py?h=master Refer to this Python module for scripts that configure IMAPFilter as a systemd service, with credentials from Bitwarden.
+
+## Using a PCSensor pedal
+
+=> https://github.com/rgerganov/footswitch Install 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)