summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorhondres <liu.gam3@gmail.com>2016-02-04 17:16:22 +0100
committerhondres <liu.gam3@gmail.com>2016-02-04 17:16:22 +0100
commitdf4faf8f334c5b1c71bfcec25fb64caf933b294b (patch)
treeb1444e53001ee0b7783525dc700d3466aa9b79e9 /core/os
parentcefca4429c165134e1acc00bbd58bdcbc3f4f955 (diff)
support horizontal mouse wheel, use in text editor
Diffstat (limited to 'core/os')
-rw-r--r--core/os/input_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h
index b601adc875..36c1556524 100644
--- a/core/os/input_event.h
+++ b/core/os/input_event.h
@@ -51,6 +51,8 @@ enum {
BUTTON_MIDDLE=3,
BUTTON_WHEEL_UP=4,
BUTTON_WHEEL_DOWN=5,
+ BUTTON_WHEEL_LEFT=6,
+ BUTTON_WHEEL_RIGHT=7,
BUTTON_MASK_LEFT=(1<<(BUTTON_LEFT-1)),
BUTTON_MASK_RIGHT=(1<<(BUTTON_RIGHT-1)),
BUTTON_MASK_MIDDLE=(1<<(BUTTON_MIDDLE-1)),