Can you tell me how to connect a mouse as an input device to an RP2040 Arduino?

[env:pico]
platform = GitHub - maxgerhardt/platform-raspberrypi: Raspberry Pi: development platform for PlatformIO
platform_packages =
framework-arduinopico@GitHub - earlephilhower/arduino-pico: Raspberry Pi Pico Arduino core, for all RP2040 boards
board = pico
framework = arduino
board_build.core = earlephilhower
board_build.filesystem_size = 0.5m
lib_archive = yes
lib_deps =
sekigon-gonnoc/Pico PIO USB@
adafruit/Adafruit TinyUSB Library@1.17.0
bodmer/TFT_eSPI@^2.5.23
lvgl/lvgl@^8.3.4

board_build.f_cpu = 120000000L
build_flags = -fstack-protector"

The problem is that when I connect LVGL, the mouse stops sending coordinates. Does anyone know a working solution?"

1 Like