Talk:QinHeng Electronics Foot Pedal
this link might be useful for -k key names
see https://www.autohotkey.com/docs/KeyList.htm
examples
gaming computer
sudo ./footswitch -1 -b mouse_right -2 -b mouse_left -3 -k up sudo ./footswitch -1 -b mouse_right -2 -k up -3 -b mouse_left
older configurations
sudo ./footswitch -1 -k left -2 -k up -3 -k right
unturned
$ footswitch -r [switch 1]: mouse_right X=0 Y=0 W=0 [switch 2]: mouse_left X=0 Y=0 W=0 [switch 3]: up