Developer knowledge network ยท moderated exchange

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Knowledge indexLive
4Categories
919Threads
2.8KPosts
Guide

Configuring RP2040 Raspberry Pi Pico as a Dual-Port USB Composite Mouse [v2.4 Technical Discussion]

colorbot_crafter
Hardware Modder
MEMBER
Rep: 126
Join Date: Mar 2021
Posts: 14
Thanks: 78
1 months ago ยท Jul 3, 2026 3:18 PM
#1

Setting up an RP2040 microcontroller with TinyUSB for undetectable hardware mouse emulation:

  • Flash custom USB descriptors spoofing standard Logitech G Pro X Superlight (idVendor = 0x046D, idProduct = 0xC08B).
  • Enable USB High-Speed endpoint polling (1,000Hz / 1ms report intervals).
  • PC sends target relative mouse delta via high-speed UART / Serial at 921,600 baud.
  • RP2040 receives packet and injects hardware USB HID report packet onto host PC.

Zero software hooks or drivers on the primary gaming PC!

dma_ghost
DMA Guru
MEMBER
Rep: 115
Join Date: Jan 2020
Posts: 12
Thanks: 83
1 months ago ยท Jul 3, 2026 5:44 PM
#2

Hardware HID emulation via RP2040 is completely undetectable by software kernel drivers because the OS sees a real hardware USB mouse.

colorbot_crafter
Hardware Modder
MEMBER
Rep: 126
Join Date: Mar 2021
Posts: 14
Thanks: 78
1 months ago ยท Jul 4, 2026 9:44 AM
#3

Latency is under 0.2ms over 921,600 baud serial.