UserPreferencesInput(bpy_struct)

base class — bpy_struct

class bpy.types.UserPreferencesInput(bpy_struct)

Settings for input devices

active_keyconfig

The name of the active key configuration

Type :string, default “”
drag_threshold

Amount of pixels you have to drag before dragging UI items happens

Type :int in [3, 40], default 0
edited_keymaps
Type :bpy_prop_collection of KeyMap, (readonly)
invert_mouse_wheel_zoom

Invert the axis of mouse movement for zooming

Type :boolean, default False
invert_zoom_wheel

Swap the Mouse Wheel zoom direction

Type :boolean, default False
mouse_double_click_time

The time (in ms) for a double click

Type :int in [1, 1000], default 0
ndof_pan_speed

The overall panning speed of an NDOF device, as percent of standard

Type :int in [0, 200], default 0
ndof_rotate_speed

The overall rotation speed of an NDOF device, as percent of standard

Type :int in [0, 200], default 0
select_mouse

The mouse button used for selection

Type :enum in [‘LEFT’, ‘RIGHT’], default ‘RIGHT’
use_emulate_numpad

Causes the 1 to 0 keys to act as the numpad (useful for laptops)

Type :boolean, default False
use_mouse_continuous

Allow moving the mouse outside the view on some manipulations (transform, ui control drag)

Type :boolean, default False
use_mouse_emulate_3_button

Emulates Middle Mouse with Alt+Left Mouse (doesn’t work with Left Mouse Select option)

Type :boolean, default False
use_mouse_mmb_paste

In text window, paste with middle mouse button instead of panning

Type :boolean, default False
view_rotate_method

Rotation style in the viewport

Type :enum in [‘TURNTABLE’, ‘TRACKBALL’], default ‘TURNTABLE’
view_zoom_axis

Axis of mouse movement to zoom in or out on

Type :enum in [‘VERTICAL’, ‘HORIZONTAL’], default ‘VERTICAL’
view_zoom_method

Which style to use for viewport scaling

Type :enum in [‘CONTINUE’, ‘DOLLY’, ‘SCALE’], default ‘CONTINUE’
wheel_scroll_lines

The number of lines scrolled at a time with the mouse wheel

Type :int in [0, 32], default 0

Inherited Properties

Inherited Functions

References

Previous topic

UserPreferencesFilePaths(bpy_struct)

Next topic

UserPreferencesSystem(bpy_struct)