this link might be useful for -k key names
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