From 1725c1059ec8c6fe44c12e453ab88990edf3e6ff Mon Sep 17 00:00:00 2001 From: Jason Stallings Date: Thu, 20 Aug 2015 21:48:28 -0500 Subject: [PATCH] Define MMMouseWheelDirection for Mac. --- src/mouse.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mouse.h b/src/mouse.h index 995ca936..04b8b2dc 100644 --- a/src/mouse.h +++ b/src/mouse.h @@ -24,6 +24,12 @@ extern "C" CENTER_BUTTON = kCGMouseButtonCenter }; typedef CGMouseButton MMMouseButton; + + enum __MMMouseWheelDirection { + DIRECTION_DOWN = -1, + DIRECTION_UP = 1 + }; + typedef int MMMouseWheelDirection; #elif defined(USE_X11)