How ysph/ghub-gui works
gHub-GUI manages Logitech devices on Linux; the documented completed capability is setting a static LED colour for the primary or logo zone. The sampled runtime is a command-line workflow: it builds device lists, discovers and selects a supported mouse, then sends a USB control transfer. The README calls the product a GUI, but the shown interaction uses terminal input. The source excerpts do not show a broader GUI or implementation of the listed missing features.
Main entry points: main.c Device selection · mouselist.c Device registry
Components 6
Device workflow
- Device selection
main.c - LED command
main.c
Device catalog
- Device registry
mouselist.c
USB access
- USB runtime
- Logitech mouse
Other components
- Operator
Connections 6
- Operator → Device selection: chooses device
main.c - Device selection → Device registry: queries entries
main.c - Device selection → USB runtime: scans devices
main.c - Device selection → LED command: configures command
main.c - LED command → USB runtime: sends control transfer
main.c - USB runtime → Logitech mouse: transfers LED data