Developer knowledge network · moderated exchange

Сообщество UnreliableCode

Сообщество разработчиков, обратного проектирования и кодирования

Guide

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

colorbot_crafter
Hardware Modder
MEMBER
Представитель: 126
Дата присоединения: Mar 2021
Сообщения: 14
Спасибо: 78
1 месяцев назад · 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
Представитель: 115
Дата присоединения: Jan 2020
Сообщения: 12
Спасибо: 83
1 месяцев назад · 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
Представитель: 126
Дата присоединения: Mar 2021
Сообщения: 14
Спасибо: 78
1 месяцев назад · Jul 4, 2026 9:44 AM
#3

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