aboutsummaryrefslogtreecommitdiff
path: root/linux/pedal.md
blob: acd0ceb81e10417bbc0b91537ac2b5685f9fd0d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)