Blender V4.5
KeyMapItem_Params Struct Reference

#include <WM_keymap.hh>

Public Attributes

int16_t type
int8_t value
int16_t modifier
int16_t keymodifier
int8_t direction

Detailed Description

Keymap. Parameters for matching events, passed into functions that create key-map items.

Definition at line 56 of file WM_keymap.hh.

Member Data Documentation

◆ direction

◆ keymodifier

int16_t KeyMapItem_Params::keymodifier

wmKeyMapItem.keymodifier.

Definition at line 75 of file WM_keymap.hh.

Referenced by keymap_event_set().

◆ modifier

int16_t KeyMapItem_Params::modifier

This value is used to initialize wmKeyMapItem ctrl, shift, alt, oskey, hyper.

Valid values:

Definition at line 72 of file WM_keymap.hh.

Referenced by keymap_event_set(), menu_add_shortcut(), WM_gizmogroup_keymap_template_select_ex(), and wm_gizmogroup_tweak_modal_keymap().

◆ type

◆ value


The documentation for this struct was generated from the following file: