summaryrefslogtreecommitdiff
path: root/core/global_constants.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-02-04 19:06:17 +0100
committerRémi Verschelde <remi@verschelde.fr>2016-02-04 19:06:17 +0100
commit85d9f72b8ad92a3e58449af27679c306128d3cb6 (patch)
tree75b884fad9458ba36cbd0bf209f65537d20d472f /core/global_constants.cpp
parent6ea0863ed3e836127cfd38587a50679d40ca40bc (diff)
parentdf4faf8f334c5b1c71bfcec25fb64caf933b294b (diff)
Merge pull request #3585 from Hinsbart/hscroll
support horizontal mouse wheel
Diffstat (limited to 'core/global_constants.cpp')
-rw-r--r--core/global_constants.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/global_constants.cpp b/core/global_constants.cpp
index 89d918fed9..c306744d35 100644
--- a/core/global_constants.cpp
+++ b/core/global_constants.cpp
@@ -317,16 +317,19 @@ static _GlobalConstant _global_constants[]={
BIND_GLOBAL_CONSTANT( KEY_MASK_KPAD ),
BIND_GLOBAL_CONSTANT( KEY_MASK_GROUP_SWITCH ),
- // joysticks
+ // mouse
BIND_GLOBAL_CONSTANT( BUTTON_LEFT ),
BIND_GLOBAL_CONSTANT( BUTTON_RIGHT ),
BIND_GLOBAL_CONSTANT( BUTTON_MIDDLE ),
BIND_GLOBAL_CONSTANT( BUTTON_WHEEL_UP ),
BIND_GLOBAL_CONSTANT( BUTTON_WHEEL_DOWN ),
+ BIND_GLOBAL_CONSTANT( BUTTON_WHEEL_LEFT ),
+ BIND_GLOBAL_CONSTANT( BUTTON_WHEEL_RIGHT ),
BIND_GLOBAL_CONSTANT( BUTTON_MASK_LEFT ),
BIND_GLOBAL_CONSTANT( BUTTON_MASK_RIGHT ),
BIND_GLOBAL_CONSTANT( BUTTON_MASK_MIDDLE ),
+ //joysticks
BIND_GLOBAL_CONSTANT( JOY_BUTTON_0 ),
BIND_GLOBAL_CONSTANT( JOY_BUTTON_1 ),
BIND_GLOBAL_CONSTANT( JOY_BUTTON_2 ),