Update hid_mouse_absolute.go

Minor syntax change.
This commit is contained in:
rmschooley 2025-05-15 22:57:29 -05:00 committed by GitHub
parent 4494d87acb
commit 2ff72aec6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ func (u *UsbGadget) AbsMouseReport(x, y int, buttons uint8) error {
return nil
}
func (u *UsbGadget) AbsMouseWheelReport(wheelY int8, wheelX int8) error {
func (u *UsbGadget) AbsMouseWheelReport(wheelY, wheelX int8) error {
u.absMouseLock.Lock()
defer u.absMouseLock.Unlock()