MCPcopy Create free account
hub / github.com/jetkvm/kvm / rpcAbsMouseReport

Function rpcAbsMouseReport

usb.go:87–89  ·  view source on GitHub ↗
(x int, y int, buttons uint8)

Source from the content-addressed store, hash-verified

85}
86
87func rpcAbsMouseReport(x int, y int, buttons uint8) error {
88 return rpcHidReport(func() error { return gadget.AbsMouseReport(x, y, buttons) })
89}
90
91func rpcRelMouseReport(dx int8, dy int8, buttons uint8) error {
92 return rpcHidReport(func() error { return gadget.RelMouseReport(dx, dy, buttons) })

Callers 1

handleHidRPCMessageFunction · 0.85

Calls 2

rpcHidReportFunction · 0.85
AbsMouseReportMethod · 0.80

Tested by

no test coverage detected