diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-28 14:43:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-28 14:59:59 +0300 |
commit | de152d072488d1f122b732feaad8b0b4f554f07d (patch) | |
tree | 0a0f1d89daf02d7bc50365ab18b2a7ae1ff5f3fd /release/scripts/presets | |
parent | df9f1d91daec6c3a613dcc177104d55a7197fbc9 (diff) |
Tool System: Use tapping Alt as a leader key to switch tools
Now tapping Alt prompts for a second input to switch tools.
Initial implementation of T69992
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index d4c17c542e7..313feed9645 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -412,6 +412,9 @@ def km_window(params): ("wm.batch_rename", {"type": 'F2', "value": 'PRESS', "ctrl": True}, None), ("wm.search_menu", {"type": 'F3', "value": 'PRESS'}, None), op_menu("TOPBAR_MT_file_context_menu", {"type": 'F4', "value": 'PRESS'}), + # Alt as "Leader-Key". + ("wm.toolbar_prompt", {"type": 'LEFT_ALT', "value": 'CLICK'}, None), + ("wm.toolbar_prompt", {"type": 'RIGHT_ALT', "value": 'CLICK'}, None), ]) if params.spacebar_action == 'TOOL': |