mouse button codes for right/middle were swapped!

This commit is contained in:
Mitchell Hashimoto
2023-06-25 16:34:06 -07:00
parent 0d2dce4449
commit 481107b41d

View File

@ -1416,8 +1416,8 @@ fn mouseReport(
} else {
acc = switch (button.?) {
.left => 0,
.right => 1,
.middle => 2,
.middle => 1,
.right => 2,
.four => 64,
.five => 65,
else => return, // unsupported