From 4cfc2515d5f19671573b555cda96f7fbdb5ae65b Mon Sep 17 00:00:00 2001 From: pixl Date: Sat, 5 Sep 2020 18:00:18 -0400 Subject: [PATCH] Fix ThumbWheel setStatus arg alignment --- src/logid/backend/hidpp20/features/ThumbWheel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logid/backend/hidpp20/features/ThumbWheel.cpp b/src/logid/backend/hidpp20/features/ThumbWheel.cpp index ef9e8d4..a2d6c60 100644 --- a/src/logid/backend/hidpp20/features/ThumbWheel.cpp +++ b/src/logid/backend/hidpp20/features/ThumbWheel.cpp @@ -59,8 +59,8 @@ ThumbWheel::ThumbwheelStatus ThumbWheel::setStatus(bool divert, bool invert) { std::vector params(2), response; ThumbwheelStatus status{}; - params[1] = divert; - params[2] = invert; + params[0] = divert; + params[1] = invert; response = callFunction(SetReporting, params); status.diverted = response[0];