diff options
author | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-05-03 03:45:03 +0400 |
---|---|---|
committer | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-05-03 03:45:03 +0400 |
commit | 08c14c7ca0398d792e3a2676b1afd66666674dae (patch) | |
tree | ca57b8c1d929031f4290da7d94a14ec502001918 /source/blender/makesdna/DNA_sensor_types.h | |
parent | 45a240260e5545a2fe04121f76cb7c10982cf123 (diff) |
Mouse Wheel Support for the Game Engine.
This adds "Wheel Up" and "Wheel Down" as choices to the Mouse sensor brick.
Diffstat (limited to 'source/blender/makesdna/DNA_sensor_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_sensor_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_sensor_types.h b/source/blender/makesdna/DNA_sensor_types.h index d6192242da4..9c4d3c1ca20 100644 --- a/source/blender/makesdna/DNA_sensor_types.h +++ b/source/blender/makesdna/DNA_sensor_types.h @@ -219,6 +219,8 @@ typedef struct bSensor { #define BL_SENS_MOUSE_LEFT_BUTTON 1 #define BL_SENS_MOUSE_MIDDLE_BUTTON 2 #define BL_SENS_MOUSE_RIGHT_BUTTON 4 +#define BL_SENS_MOUSE_WHEEL_UP 5 +#define BL_SENS_MOUSE_WHEEL_DOWN 6 #define BL_SENS_MOUSE_MOVEMENT 8 #define BL_SENS_MOUSE_MOUSEOVER 16 |