mirror of https://github.com/jetkvm/kvm.git
Update hid_keyboard.go
Added attribute to remove unnecessary and potentially confusing out endpoint descriptor.
This commit is contained in:
parent
1f7c5c94d8
commit
b7411958af
|
@ -14,9 +14,10 @@ var keyboardConfig = gadgetConfigItem{
|
||||||
path: []string{"functions", "hid.usb0"},
|
path: []string{"functions", "hid.usb0"},
|
||||||
configPath: []string{"hid.usb0"},
|
configPath: []string{"hid.usb0"},
|
||||||
attrs: gadgetAttributes{
|
attrs: gadgetAttributes{
|
||||||
"protocol": "1",
|
"protocol": "1",
|
||||||
"subclass": "1",
|
"subclass": "1",
|
||||||
"report_length": "8",
|
"report_length": "8",
|
||||||
|
"no_out_endpoint": "1",
|
||||||
},
|
},
|
||||||
reportDesc: keyboardReportDesc,
|
reportDesc: keyboardReportDesc,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue