mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 14:03:17 -07:00
Update broken tests
This commit is contained in:
parent
d22befab45
commit
6406885928
8 changed files with 90 additions and 64 deletions
|
@ -170,7 +170,8 @@ func (dev *HIDDevice) onEventFrame(p []byte, sz int) {
|
|||
} else if sz == 5 && p[0] == 0x00 && p[1] == 0x40 {
|
||||
dev.Type = HIDTypeLogitech // keepalive
|
||||
return
|
||||
} else if sz == 10 && p[0] == 0x00 && p[0] == 0x4f {
|
||||
// TODO: review this condition
|
||||
} else if sz == 10 && p[0] == 0x00 { //&& p[0] == 0x4f {
|
||||
dev.Type = HIDTypeLogitech // sleep timer
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue