/sdl_event_forwarder

Tool to forward keboard/mouse/controller events to RP2040 over UART

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

This is a simple tool to forward raw keyboard, mouse or gamepad events to an RP2040 connected via UART. The events are sent via escape sequences, so the program on the RP2040 needs to be expecting them.

Build

mkdir build
cd build
cmake ..
make

Usage:

./sdl_event_forwarder <tty_device>

e.g.

./sdl_event_forwarder /dev/ttyUSB0

This will open a window, whose input is forwarded