Fix dmesg 'Invalid code 768 type 1' error
Signed-off-by: fly <merspieler@alwaysdata.net>
This commit is contained in:
parent
dda8257dce
commit
08127eb7b0
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue