the official configuration tool allows you to set the footswitches to produce a midi note or press a gamepad button. i don't see a usb audio device, but i do see a gamepad when i plug mine in:
jstest /dev/input/js1
Driver version is 2.1.0.
Joystick (PCsensor FootSwitch) has 2 axes (X, Y)
and 8 buttons (BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ, BtnTL, BtnTR).
Testing ... (interrupt to exit)
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off
so it is most likely not an issue of setting the right keycode to be pressed, there would be a different command sent to the firmware to use gamepad actions, much like mouse movement and wheel are different from keypresses
the official configuration tool allows you to set the footswitches to produce a midi note or press a gamepad button. i don't see a usb audio device, but i do see a gamepad when i plug mine in:
so it is most likely not an issue of setting the right keycode to be pressed, there would be a different command sent to the firmware to use gamepad actions, much like mouse movement and wheel are different from keypresses