rgerganov / footswitch

Command-line utility for PCsensor and Scythe foot switches
MIT License
414 stars 60 forks source link

Unable to program Gamepad Keys #66

Open Blupanthr2 opened 3 years ago

Blupanthr2 commented 3 years ago

I'm attempting to set my foot pedal to a Gamepad Button for software that I am unable to change the key commands for. I have tried footswitch -S '30' Which shows as 'X' key on (http://www.freebsddiary.org/APC/usb_hid_usages.php) but all I get is the ']' key. Am I missing something to set that command?

rgerganov commented 3 years ago

I am not familiar with Gamepad but I guess you can try to connect it to a PC and sniff its keycodes with tools like xev. Then you can program the same key codes to your foot pedal.