From e90dec04be9f4036e12faf4d478dd43946f24a6e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 9 Oct 2024 11:22:22 -0700 Subject: [PATCH] core: support mouse button 6/7 for mouse reports Fixes #2423 This corresponds to horizontal scroll on macOS and likely other mice. --- src/Surface.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Surface.zig b/src/Surface.zig index e9d8dcd1c..ef0a6bfaf 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -2341,6 +2341,8 @@ fn mouseReport( .right => 2, .four => 64, .five => 65, + .six => 66, + .seven => 67, else => return, // unsupported }; }