I have a Bluetooth foot switch that\'s basically a wireless keyboard. One pedal sends the up arrow key, the other sends the down arrow key. I want to be able to execute my own
See the solution I came up with for responding to arrow keys from a foot pedal:
How can I respond to external keyboard arrow keys?