diff --git a/jsonrpc.go b/jsonrpc.go index 3c805e4..9534af1 100644 --- a/jsonrpc.go +++ b/jsonrpc.go @@ -994,7 +994,7 @@ var rpcHandlers = map[string]RPCHandler{ "keyboardReport": {Func: rpcKeyboardReport, Params: []string{"modifier", "keys"}}, "absMouseReport": {Func: rpcAbsMouseReport, Params: []string{"x", "y", "buttons"}}, "relMouseReport": {Func: rpcRelMouseReport, Params: []string{"dx", "dy", "buttons"}}, - "wheelReport": {Func: rpcWheelReport, Params: []string{"wheelY"}}, + "wheelReport": {Func: rpcWheelReport, Params: []string{"wheelY", "wheelX"}}, "getVideoState": {Func: rpcGetVideoState}, "getUSBState": {Func: rpcGetUSBState}, "unmountImage": {Func: rpcUnmountImage},