mirror of https://github.com/jetkvm/kvm.git
Compare commits
2 Commits
3252cecc31
...
76dc3f226e
| Author | SHA1 | Date |
|---|---|---|
|
|
76dc3f226e | |
|
|
f9a16eede7 |
|
|
@ -137,7 +137,7 @@ func NewKeyboardMacroTokenMessage(token uuid.UUID) *Message {
|
|||
data, _ := token.MarshalBinary()
|
||||
|
||||
return &Message{
|
||||
t: TypeKeyboardMacroTokenState,
|
||||
t: TypeKeyboardMacroState,
|
||||
d: data,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ var keyboardReportDesc = []byte{
|
|||
|
||||
/* 1 bit of padding for the Power LED (ignored) */
|
||||
0x95, 0x01, /* REPORT_COUNT (1) */
|
||||
0x75, 0x03, /* REPORT_SIZE (3) */
|
||||
0x75, 0x03, /* REPORT_SIZE (1) */
|
||||
0x91, 0x03, /* OUTPUT (Cnst,Var,Abs) */
|
||||
|
||||
/* LED report 1 bit for Shift */
|
||||
|
|
@ -80,7 +80,7 @@ var keyboardReportDesc = []byte{
|
|||
|
||||
/* 1 bit of padding for the rest of the byte */
|
||||
0x95, 0x01, /* REPORT_COUNT (1) */
|
||||
0x75, 0x03, /* REPORT_SIZE (3) */
|
||||
0x75, 0x03, /* REPORT_SIZE (1) */
|
||||
0x91, 0x03, /* OUTPUT (Cnst,Var,Abs) */
|
||||
0xc0, /* END_COLLECTION */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue