diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-19 02:59:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-19 03:32:22 +0400 |
commit | 7afbdbf812abd172cc4dd67c16b540a6510a38f1 (patch) | |
tree | d82239d14ef9813a1667acae675e0aad9f6c39fd /release/scripts/presets | |
parent | ad4c12fe01d47d5b3092865ecdb9f49cf8c79aaf (diff) |
Update keymaps for changes to NDOF
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/keyconfig/3dsmax.py | 24 | ||||
-rw-r--r-- | release/scripts/presets/keyconfig/maya.py | 24 |
2 files changed, 24 insertions, 24 deletions
diff --git a/release/scripts/presets/keyconfig/3dsmax.py b/release/scripts/presets/keyconfig/3dsmax.py index 5993183a7e1..c69171728b8 100644 --- a/release/scripts/presets/keyconfig/3dsmax.py +++ b/release/scripts/presets/keyconfig/3dsmax.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_REPORT', 'ANY', any=True) # Map Screen 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 |