Skip to content

Commit 58ff736

Browse files
committed
MMMouseWheelDirection for Linux.
1 parent 0403623 commit 58ff736

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/mouse.h

+6
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ extern "C"
3939
RIGHT_BUTTON = 3
4040
};
4141
typedef unsigned int MMMouseButton;
42+
43+
enum __MMMouseWheelDirection {
44+
DIRECTION_DOWN = -1,
45+
DIRECTION_UP = 1
46+
};
47+
typedef int MMMouseWheelDirection;
4248

4349
#elif defined(IS_WINDOWS)
4450

0 commit comments

Comments
 (0)