MCPcopy
hub / github.com/bettercap/bettercap / errNotSupported

Function errNotSupported

modules/hid/hid_inject.go:37–39  ·  view source on GitHub ↗
(dev *network.HIDDevice)

Source from the content-addressed store, hash-verified

35}
36
37func errNotSupported(dev *network.HIDDevice) error {
38 return fmt.Errorf("HID frame injection is not supported for device type %s", dev.Type.String())
39}
40
41func errNoKeyMap(layout string) error {
42 return fmt.Errorf("could not find keymap for '%s' layout, supported layouts are: %s", layout, SupportedLayouts())

Callers 1

prepInjectionMethod · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected