From 08127eb7b0fb3865e35ac1bb9670b71507be7843 Mon Sep 17 00:00:00 2001 From: fly Date: Tue, 3 Dec 2024 00:41:16 +0100 Subject: [PATCH] Fix dmesg 'Invalid code 768 type 1' error Signed-off-by: fly --- Pedestal/MCDU/firmware/src/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pedestal/MCDU/firmware/src/device.rs b/Pedestal/MCDU/firmware/src/device.rs index 4c93446..8a2f62a 100644 --- a/Pedestal/MCDU/firmware/src/device.rs +++ b/Pedestal/MCDU/firmware/src/device.rs @@ -17,7 +17,7 @@ use usbd_human_interface_device::{ #[rustfmt::skip] pub const CUSTOM_DESCRIPTOR: &[u8] = &[ 0x05, 0x01, // UsagePage(Generic Desktop[0x0001]) - 0x09, 0x04, // UsageId(Joystick[0x0004]) + 0x09, 0x01, // UsageId(Joystick[0x0001]) 0xA1, 0x01, // Collection(Application) 0x85, 0x01, // ReportId(1) 0x05, 0x09, // UsagePage(Button[0x0009])