Skip to content

Commit

Permalink
MMMouseWheelDirection for Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Aug 21, 2015
1 parent 0403623 commit 58ff736
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mouse.h
Expand Up @@ -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)

Expand Down

0 comments on commit 58ff736

Please sign in to comment.