aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/crepe/api/Event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crepe/api/Event.h b/src/crepe/api/Event.h
index 778ba63..b13abc1 100644
--- a/src/crepe/api/Event.h
+++ b/src/crepe/api/Event.h
@@ -104,6 +104,7 @@ public:
//! Y-coordinate of the mouse position at the time of the event.
int scroll_y = 0;
+ //! scroll direction (-1 = down, 1 = up)
int direction = 0;
};
/**