From 58ff7361cdfc364f332a05b718c801d87ecbaac3 Mon Sep 17 00:00:00 2001 From: Jason Stallings Date: Thu, 20 Aug 2015 22:42:38 -0500 Subject: [PATCH] MMMouseWheelDirection for Linux. --- src/mouse.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mouse.h b/src/mouse.h index 04b8b2dc..13dc37be 100644 --- a/src/mouse.h +++ b/src/mouse.h @@ -39,6 +39,12 @@ extern "C" RIGHT_BUTTON = 3 }; typedef unsigned int MMMouseButton; + + enum __MMMouseWheelDirection { + DIRECTION_DOWN = -1, + DIRECTION_UP = 1 + }; + typedef int MMMouseWheelDirection; #elif defined(IS_WINDOWS)