Fix more linter issues.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ
2025-03-11 18:28:32 +01:00
parent 75296b4b7e
commit 97ce785056
7 changed files with 9 additions and 20 deletions

6
usb.go
View File

@@ -1,7 +1,7 @@
package kvm
import (
"kvm/internal/usbgadget"
"github.com/jetkvm/kvm/internal/usbgadget"
"time"
)
@@ -37,10 +37,6 @@ func rpcWheelReport(wheelY int8) error {
return gadget.AbsMouseWheelReport(wheelY)
}
func rpcRelMouseReport(mx, my int8, buttons uint8) error {
return gadget.RelMouseReport(mx, my, buttons)
}
var usbState = "unknown"
func rpcGetUSBState() (state string) {