diff options
author | hondres <liu.gam3@gmail.com> | 2016-02-04 17:16:22 +0100 |
---|---|---|
committer | hondres <liu.gam3@gmail.com> | 2016-02-04 17:16:22 +0100 |
commit | df4faf8f334c5b1c71bfcec25fb64caf933b294b (patch) | |
tree | b1444e53001ee0b7783525dc700d3466aa9b79e9 /core/os | |
parent | cefca4429c165134e1acc00bbd58bdcbc3f4f955 (diff) |
support horizontal mouse wheel, use in text editor
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/input_event.h | 2 |
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)), |