diff options
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r-- | source/blender/windowmanager/WM_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index a8d24205268..7fa2851cbf3 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -595,6 +595,10 @@ typedef struct wmEvent { /** Ascii, unicode, mouse coords, angles, vectors, dragdrop info. */ void *customdata; + /* True if the operating system inverted the delta x/y values and resulting + * prev x/y values, for natural scroll direction. For absolute scroll direction, + * the delta must be negated again. */ + char is_direction_inverted; } wmEvent; /** |