The optical target's application-level USB control commands are defined in the USB control protocol reference. Open this directory in the VS Code PlatformIO extension. Codec, parser, DSP, and ...
A lever closed over 5 s is a fault: the computer gets Note Off and the lever is ignored until it opens. Both levers' state is re-sent every second, released included, so a lost Note Off can't leave ...