Repository navigation
Highlights
New USB stack
- First release using TinyUSB instead of the ST USB stack. Many improvements, better handling of the USB protocol in general and support for USB hubs, too.
Measurement
- Negative latency measurement: GPIO edge trailing the USB report is now measured instead of dropped (analog/TMR switches)
- Post-release GPIO holdoff: rejects mechanical switch chatter after a USB release; configurable in Settings > Detection (Off/20/50/100/200 ms). GPIO-only filter — USB reports are never dropped
- Fix: latched EXTI edge fired at debounce expiry with a bogus timestamp (latency outliers)
- Input bias now defaults to pull-up
- Auto-trigger now desyncs GPIO edges from USB SOF, for real random click intervals
USB
- Keyboard support
- Fix: Logitech HS receivers (e.g. 046d:c54d) detached every ~2s while idle — XLAT no longer sends SET_IDLE and keeps devices in report protocol, matching desktop OS hosts
- USB watchdog with escalating recovery (host stack reinit → ULPI PHY hard reset → MCU reset): survives flaky dongles and bus errors that previously froze XLAT
- TinyUSB dwc2 host fixes: no more asserts on data-toggle errors, no channel/endpoint leaks on re-enumeration, port-disable recovery
- Robust device detection across boot/disconnect; auto-trigger desynced from USB SOF
Misc
- Keyboard modifier key support
- 50 ms debounce option
- Settings UI rework
- README cleanup + USB troubleshooting guide
Full changelog: v1.4.0...v1.5.0