mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-01-18 03:28:19 +01:00
6
usb.go
6
usb.go
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user