mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
added HID support for Microsoft devices
This commit is contained in:
parent
8bd19008f2
commit
7c9e2afdcc
6 changed files with 97 additions and 8 deletions
|
@ -5,10 +5,11 @@ import (
|
|||
)
|
||||
|
||||
type FrameBuilder interface {
|
||||
BuildFrames([]*Command) error
|
||||
BuildFrames(*network.HIDDevice, []*Command) error
|
||||
}
|
||||
|
||||
var FrameBuilders = map[network.HIDType]FrameBuilder{
|
||||
network.HIDTypeLogitech: LogitechBuilder{},
|
||||
network.HIDTypeAmazon: AmazonBuilder{},
|
||||
network.HIDTypeLogitech: LogitechBuilder{},
|
||||
network.HIDTypeAmazon: AmazonBuilder{},
|
||||
network.HIDTypeMicrosoft: MicrosoftBuilder{},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue