Some USBPcap + Wireshark setups fall short. So here the pico-usb-sniffer-lite project, a USB sniffer for LOW SPEED & FULL SPEED. It can be used as a physical keylogger: Raspberry Pi Pico + a few materials (~10$). Thx Alex Taradov (@ataradov) (usb-sniffer-lite):
https://github.com/therealdreg/pico-usb-sniffer-lite/I have ported everything (PIO+SRC) to pio-sdk and made some changes. It won't be exactly the same as the bare-metal version.