This commit is contained in:
0000OOOO0000 2022-06-10 22:19:54 +03:00 committed by GitHub
parent beac56a577
commit e1597bf9ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 54 additions and 46 deletions

View File

@ -24,13 +24,19 @@ keyconfig_data = \
("view3d.localview", {"type": 'MOUSESMARTZOOM', "value": 'ANY'}, None), ("view3d.localview", {"type": 'MOUSESMARTZOOM', "value": 'ANY'}, None),
("view3d.localview_remove_from", {"type": 'NUMPAD_SLASH', "value": 'PRESS', "alt": True}, None), ("view3d.localview_remove_from", {"type": 'NUMPAD_SLASH', "value": 'PRESS', "alt": True}, None),
("view3d.localview_remove_from", {"type": 'SLASH', "value": 'PRESS', "alt": True}, None), ("view3d.localview_remove_from", {"type": 'SLASH', "value": 'PRESS', "alt": True}, None),
("view3d.rotate", {"type": 'MOUSEROTATE', "value": 'ANY'}, None),
("view3d.rotate", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "alt": True}, None), ("view3d.rotate", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "alt": True}, None),
("view3d.move", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None), ("view3d.rotate", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None),
("view3d.rotate", {"type": 'TRACKPADPAN', "value": 'ANY'}, None), ("view3d.move", {"type": 'MIDDLEMOUSE', "value": 'ANY'}, None),
("view3d.move", {"type": 'MIDDLEMOUSE', "value": 'ANY', "ctrl": True}, None), ("view3d.rotate", {"type": 'TRACKPADPAN', "value": 'ANY', "shift": True}, None),
("view3d.zoom", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None), ("view3d.move", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
("view3d.dolly", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "alt": True}, None), ("view3d.zoom",
{"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True},
{"properties":
[("use_cursor_init", True),
],
},
),
("view3d.dolly", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("view3d.view_selected", ("view3d.view_selected",
{"type": 'NUMPAD_PERIOD', "value": 'PRESS', "ctrl": True}, {"type": 'NUMPAD_PERIOD', "value": 'PRESS', "ctrl": True},
{"properties": {"properties":
@ -46,6 +52,8 @@ keyconfig_data = \
}, },
), ),
("view3d.smoothview", {"type": 'TIMER1', "value": 'ANY', "any": True}, None), ("view3d.smoothview", {"type": 'TIMER1', "value": 'ANY', "any": True}, None),
("view3d.zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
("view3d.zoom", {"type": 'TRACKPADPAN', "value": 'ANY', "ctrl": True}, None),
("view3d.zoom", ("view3d.zoom",
{"type": 'NUMPAD_PLUS', "value": 'PRESS', "repeat": True}, {"type": 'NUMPAD_PLUS', "value": 'PRESS', "repeat": True},
{"properties": {"properties":
@ -61,14 +69,14 @@ keyconfig_data = \
}, },
), ),
("view3d.zoom", ("view3d.zoom",
{"type": 'EQUAL', "value": 'PRESS', "repeat": True}, {"type": 'EQUAL', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties": {"properties":
[("delta", 1), [("delta", 1),
], ],
}, },
), ),
("view3d.zoom", ("view3d.zoom",
{"type": 'MINUS', "value": 'PRESS', "repeat": True}, {"type": 'MINUS', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties": {"properties":
[("delta", -1), [("delta", -1),
], ],
@ -159,7 +167,7 @@ keyconfig_data = \
("view3d.view_orbit", ("view3d.view_orbit",
{"type": 'NUMPAD_2', "value": 'PRESS', "repeat": True}, {"type": 'NUMPAD_2', "value": 'PRESS', "repeat": True},
{"properties": {"properties":
[("type", 'ORBITUP'), [("type", 'ORBITDOWN'),
], ],
}, },
), ),
@ -173,11 +181,18 @@ keyconfig_data = \
("view3d.view_orbit", ("view3d.view_orbit",
{"type": 'NUMPAD_4', "value": 'PRESS', "repeat": True}, {"type": 'NUMPAD_4', "value": 'PRESS', "repeat": True},
{"properties": {"properties":
[("type", 'ORBITRIGHT'), [("type", 'ORBITLEFT'),
], ],
}, },
), ),
("view3d.view_persportho", {"type": 'NUMPAD_5', "value": 'PRESS'}, None), ("view3d.view_persportho", {"type": 'NUMPAD_5', "value": 'PRESS'}, None),
("view3d.view_orbit",
{"type": 'NUMPAD_6', "value": 'PRESS', "repeat": True},
{"properties":
[("type", 'ORBITRIGHT'),
],
},
),
("view3d.view_axis", ("view3d.view_axis",
{"type": 'NUMPAD_7', "value": 'PRESS'}, {"type": 'NUMPAD_7', "value": 'PRESS'},
{"properties": {"properties":
@ -188,7 +203,7 @@ keyconfig_data = \
("view3d.view_orbit", ("view3d.view_orbit",
{"type": 'NUMPAD_8', "value": 'PRESS', "repeat": True}, {"type": 'NUMPAD_8', "value": 'PRESS', "repeat": True},
{"properties": {"properties":
[("type", 'ORBITDOWN'), [("type", 'ORBITUP'),
], ],
}, },
), ),
@ -213,6 +228,34 @@ keyconfig_data = \
], ],
}, },
), ),
("view3d.view_pan",
{"type": 'NUMPAD_2', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANDOWN'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_4', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANLEFT'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_6', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANRIGHT'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_8', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANUP'),
],
},
),
("view3d.view_roll", ("view3d.view_roll",
{"type": 'NUMPAD_4', "value": 'PRESS', "shift": True, "repeat": True}, {"type": 'NUMPAD_4', "value": 'PRESS', "shift": True, "repeat": True},
{"properties": {"properties":
@ -576,41 +619,6 @@ keyconfig_data = \
], ],
}, },
), ),
("view3d.view_pan",
{"type": 'NUMPAD_4', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANLEFT'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_2', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANDOWN'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_8', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANUP'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_6', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANRIGHT'),
],
},
),
("view3d.view_orbit",
{"type": 'NUMPAD_6', "value": 'PRESS', "repeat": True},
{"properties":
[("type", 'ORBITLEFT'),
],
},
),
], ],
}, },
), ),