Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/presets/keyconfig/keymap_data/blender_default.py
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 3,022 Lines • ▼ Show 20 Lines | keymap = ( | ||||
| {"space_type": 'EMPTY', "region_type": 'WINDOW'}, | {"space_type": 'EMPTY', "region_type": 'WINDOW'}, | ||||
| {"items": items}, | {"items": items}, | ||||
| ) | ) | ||||
| items.extend([ | items.extend([ | ||||
| # Draw | # Draw | ||||
| ("gpencil.annotate", {"type": 'LEFTMOUSE', "value": 'PRESS', "key_modifier": 'D'}, | ("gpencil.annotate", {"type": 'LEFTMOUSE', "value": 'PRESS', "key_modifier": 'D'}, | ||||
| {"properties": [("mode", 'DRAW'), ("wait_for_input", False)]}), | {"properties": [("mode", 'DRAW'), ("wait_for_input", False)]}), | ||||
| ("gpencil.annotate", {"type": 'LEFTMOUSE', "value": 'PRESS', "key_modifier": 'D', "shift": True}, | |||||
| {"properties": [("mode", 'DRAW'), ("wait_for_input", False)]}), | |||||
| # Draw - straight lines | # Draw - straight lines | ||||
| ("gpencil.annotate", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True, "key_modifier": 'D'}, | ("gpencil.annotate", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True, "key_modifier": 'D'}, | ||||
| {"properties": [("mode", 'DRAW_STRAIGHT'), ("wait_for_input", False)]}), | {"properties": [("mode", 'DRAW_STRAIGHT'), ("wait_for_input", False)]}), | ||||
| # Draw - poly lines | # Draw - poly lines | ||||
| ("gpencil.annotate", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True, "key_modifier": 'D'}, | ("gpencil.annotate", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True, "key_modifier": 'D'}, | ||||
| {"properties": [("mode", 'DRAW_POLY'), ("wait_for_input", False)]}), | {"properties": [("mode", 'DRAW_POLY'), ("wait_for_input", False)]}), | ||||
| # Erase | # Erase | ||||
| ("gpencil.annotate", {"type": 'RIGHTMOUSE', "value": 'PRESS', "key_modifier": 'D'}, | ("gpencil.annotate", {"type": 'RIGHTMOUSE', "value": 'PRESS', "key_modifier": 'D'}, | ||||
| ▲ Show 20 Lines • Show All 3,798 Lines • Show Last 20 Lines | |||||