fix: panic invalid enum value on left or right scroll

This commit is contained in:
CJ van den Berg 2024-07-28 22:31:31 +02:00 committed by Tim Culverhouse
parent f0eaa3c831
commit 5b7f2c3d5d

View file

@ -20,6 +20,8 @@ pub const Button = enum(u8) {
none,
wheel_up = 64,
wheel_down = 65,
wheel_right = 66,
wheel_left = 67,
button_8 = 128,
button_9 = 129,
button_10 = 130,