From db1b5d36b579026e5b531df6d6939feeaec827a3 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Mon, 16 May 2022 11:50:43 +0000 Subject: [PATCH] Set device_class of twitchy_mouse example to 0 This fixes the mouse on Mac. Closes #327 --- boards/rp-pico/examples/pico_usb_twitchy_mouse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/rp-pico/examples/pico_usb_twitchy_mouse.rs b/boards/rp-pico/examples/pico_usb_twitchy_mouse.rs index f187416..fdf5923 100644 --- a/boards/rp-pico/examples/pico_usb_twitchy_mouse.rs +++ b/boards/rp-pico/examples/pico_usb_twitchy_mouse.rs @@ -113,7 +113,7 @@ fn main() -> ! { .manufacturer("Fake company") .product("Twitchy Mousey") .serial_number("TEST") - .device_class(0xEF) // misc + .device_class(0) .build(); unsafe { // Note (safety): This is safe as interrupts haven't been started yet