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