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 “”, (never None)
-
drag_threshold
¶ Amount of pixels you have to drag before dragging UI items happens
Type: int in [3, 40], default 0
-
invert_mouse_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
¶ Time/delay (in ms) for a double click
Type: int in [1, 1000], default 0
Which method to use for viewport navigation
WALK
Walk, Interactively walk or free navigate around the scene.FLY
Fly, Use fly dynamics to navigate the scene.
Type: enum in [‘WALK’, ‘FLY’], default ‘WALK’
-
select_mouse
¶ Mouse button used for selection
LEFT
Left, Use left Mouse Button for selection.RIGHT
Right, Use Right Mouse Button for selection.
Type: enum in [‘LEFT’, ‘RIGHT’], default ‘RIGHT’
-
tweak_threshold
¶ Number of pixels you have to drag before tweak event is triggered
Type: int in [3, 1024], default 0
-
use_emulate_numpad
¶ Main 1 to 0 keys act as the numpad ones (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
Emulate 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
-
use_ndof
¶ Type: boolean, default False, (readonly)
-
use_trackpad_natural
¶ If your system uses ‘natural’ scrolling, this option keeps consistent trackpad usage throughout the UI
Type: boolean, default False
-
view_rotate_method
¶ Rotation style in the viewport
TURNTABLE
Turntable, Use turntable style rotation in the viewport.TRACKBALL
Trackball, Use trackball style rotation in the viewport.
Type: enum in [‘TURNTABLE’, ‘TRACKBALL’], default ‘TURNTABLE’
-
view_zoom_axis
¶ Axis of mouse movement to zoom in or out on
VERTICAL
Vertical, Zoom in and out based on vertical mouse movement.HORIZONTAL
Horizontal, Zoom in and out based on horizontal mouse movement.
Type: enum in [‘VERTICAL’, ‘HORIZONTAL’], default ‘VERTICAL’
-
view_zoom_method
¶ Which style to use for viewport scaling
CONTINUE
Continue, Old style zoom, continues while moving mouse up or down.DOLLY
Dolly, Zoom in and out based on vertical mouse movement.SCALE
Scale, Zoom in and out like scaling the view, mouse movements relative to center.
Type: enum in [‘CONTINUE’, ‘DOLLY’, ‘SCALE’], default ‘CONTINUE’
Settings for walk navigation mode
Type: WalkNavigation
, (readonly, never None)
-
wheel_scroll_lines
¶ Number of lines scrolled at a time with the mouse wheel
Type: int in [0, 32], default 0
-
classmethod
bl_rna_get_subclass
(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The RNA type or default when not found. Return type: bpy.types.Struct
subclass
-
classmethod
bl_rna_get_subclass_py
(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The class or default when not found. Return type: type
-
Inherited Properties
Inherited Functions
References