diff options
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r-- | source/blender/windowmanager/WM_types.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index a95c2ee2bb2..2f431bcd208 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -635,9 +635,12 @@ typedef struct wmEvent { */ int prev_xy[2]; - /** Modifier states. */ - /** 'oskey' is apple or windows-key, value denotes order of pressed. */ - short shift, ctrl, alt, oskey; + /** + * Modifier states. + * #KM_SHIFT, #KM_CTRL, #KM_ALT & #KM_OSKEY is apple or windows-key. + */ + uint8_t modifier; + /** Raw-key modifier (allow using any key as a modifier). */ short keymodifier; |