Update hid_keyboard.go

Added attribute to remove unnecessary and potentially confusing out endpoint descriptor.
This commit is contained in:
rmschooley 2025-05-26 22:44:08 -05:00 committed by GitHub
parent 1f7c5c94d8
commit b7411958af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -14,9 +14,10 @@ var keyboardConfig = gadgetConfigItem{
path: []string{"functions", "hid.usb0"},
configPath: []string{"hid.usb0"},
attrs: gadgetAttributes{
"protocol": "1",
"subclass": "1",
"report_length": "8",
"protocol": "1",
"subclass": "1",
"report_length": "8",
"no_out_endpoint": "1",
},
reportDesc: keyboardReportDesc,
}