Skip to content

Commit

Permalink
Define MMMouseWheelDirection for Mac.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Aug 21, 2015
1 parent 4052946 commit 1725c10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mouse.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1725c10

Please sign in to comment.