An os x driver for the www.footswitch.ru FSW-02 footswitch
Build using XCode, run the resulting cli executable, and pressing the footswitch buttons will output F18 and F19. These can be remapped to any key combination as desired using a utility such as BetterTouchTool. Alternatively, you can edit the keycodes yourself in main.c:addQueueCallbacks()