diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-02 17:20:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-02 17:25:06 +0300 |
commit | d596a6368cc62d198dd33dadd1cd0831d0de3dee (patch) | |
tree | bc1a70f5f4d7411726f0107161d4110de7578dc3 /source/blender/makesdna/DNA_userdef_types.h | |
parent | 2e97d50d2d3bdba1ba151d96a6b40382f07785c4 (diff) |
Preference: option to use OS-Key to emulate MMB
Alt-LMB is used in quite a few areas now, see T69323
using OS-Key allows these conflicts to be avoided.
Currently disabled for WIN32, since it conflicts with the start menu.
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 126b4638ca1..f36802d33b3 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -606,7 +606,8 @@ typedef struct UserDef { /** #eUserPref_PrefFlag preferences for the preferences. */ char pref_flag; char savetime; - char _pad4[4]; + char mouse_emulate_3_button_modifier; + char _pad4[3]; /** FILE_MAXDIR length. */ char tempdir[768]; char fontdir[768]; @@ -1240,6 +1241,11 @@ typedef enum eUserpref_TempSpaceDisplayType { USER_TEMP_SPACE_DISPLAY_WINDOW, } eUserpref_TempSpaceDisplayType; +typedef enum eUserpref_EmulateMMBMod { + USER_EMU_MMB_MOD_ALT = 0, + USER_EMU_MMB_MOD_OSKEY = 1, +} eUserpref_EmulateMMBMod; + #ifdef __cplusplus } #endif |