TInput-Component
TInputComp is a component for Lazarus on Linux to capture input events
...The pedal is recognized well by Linux as a USB device, but the VEC pedal generates the codes 256-258, which cannot be processed by the X server (without further measures such as mapping).
The component is able to read all events listed in /dev/input (as examples: VEC pedal, simple game controller and jog-dial Contour Shuttle Pro V2).
Mouse and keyboard events could also be captured, but that usually doesn't make sense since they are almost fully supported by XServer and Lazarus.