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