diff options
Diffstat (limited to 'release/scripts/presets/keyconfig/maya.py')
-rw-r--r-- | release/scripts/presets/keyconfig/maya.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/release/scripts/presets/keyconfig/maya.py b/release/scripts/presets/keyconfig/maya.py index d7c913df219..9becc1091eb 100644 --- a/release/scripts/presets/keyconfig/maya.py +++ b/release/scripts/presets/keyconfig/maya.py @@ -64,18 +64,18 @@ kmi.properties.value = 'TEXT_EDITOR' kmi = km.keymap_items.new('wm.context_set_enum', 'F12', 'PRESS', shift=True) kmi.properties.data_path = 'area.type' kmi.properties.value = 'DOPESHEET_EDITOR' -kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_PLUS', 'PRESS') -kmi.properties.decrease = False -kmi.properties.fast = False -kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_MINUS', 'PRESS') -kmi.properties.decrease = True -kmi.properties.fast = False -kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_PLUS', 'PRESS', shift=True) -kmi.properties.decrease = False -kmi.properties.fast = True -kmi = km.keymap_items.new('wm.ndof_sensitivity_change', 'NDOF_BUTTON_MINUS', 'PRESS', shift=True) -kmi.properties.decrease = True -kmi.properties.fast = True +kmi = km.keymap_items.new('wm.context_scale_float', 'NDOF_BUTTON_PLUS', 'PRESS') +kmi.properties.data_path = 'user_preferences.inputs.ndof_sensitivity' +kmi.properties.value = 1.1 +kmi = km.keymap_items.new('wm.context_scale_float', 'NDOF_BUTTON_MINUS', 'PRESS') +kmi.properties.data_path = 'user_preferences.inputs.ndof_sensitivity' +kmi.properties.value = 1.0 / 1.1 +kmi = km.keymap_items.new('wm.context_scale_float', 'NDOF_BUTTON_PLUS', 'PRESS', shift=True) +kmi.properties.data_path = 'user_preferences.inputs.ndof_sensitivity' +kmi.properties.value = 1.5 +kmi = km.keymap_items.new('wm.context_scale_float', 'NDOF_BUTTON_MINUS', 'PRESS', shift=True) +kmi.properties.data_path = 'user_preferences.inputs.ndof_sensitivity' +kmi.properties.value = 1.0 / 1.5 kmi = km.keymap_items.new('info.reports_display_update', 'TIMER', 'ANY', any=True) # Map Screen |