Blender V4.3
wmKeyMapItem Struct Reference

#include <DNA_windowmanager_types.h>

Public Attributes

struct wmKeyMapItemnext
 
struct wmKeyMapItemprev
 
char idname [64]
 
IDPropertyproperties
 
char propvalue_str [64]
 
short propvalue
 
short type
 
int8_t val
 
int8_t direction
 
short shift
 
short ctrl
 
short alt
 
short oskey
 
short keymodifier
 
short flag
 
short maptype
 
short id
 
char _pad [2]
 
struct PointerRNAptr
 

Detailed Description

Partial copy of the event, for matching by event handler.

Definition at line 448 of file DNA_windowmanager_types.h.

Member Data Documentation

◆ _pad

char wmKeyMapItem::_pad[2]

Definition at line 486 of file DNA_windowmanager_types.h.

◆ alt

◆ ctrl

◆ direction

int8_t wmKeyMapItem::direction

The 2D direction of the event to use when val == KM_CLICK_DRAG. Set to KM_DIRECTION_N, KM_DIRECTION_S & related values, KM_NOTHING for any direction.

Definition at line 472 of file DNA_windowmanager_types.h.

Referenced by keymap_event_set(), keymap_item_update_tweak_event(), wm_eventmatch(), and WM_keymap_item_compare().

◆ flag

◆ id

short wmKeyMapItem::id

Unique identifier. Positive for kmi that override builtins, negative otherwise.

Definition at line 485 of file DNA_windowmanager_types.h.

Referenced by keymap_item_set_id(), menu_add_shortcut(), WM_keymap_item_restore_to_default(), wm_keymap_patch(), and wm_keymap_patch_update().

◆ idname

◆ keymodifier

◆ maptype

short wmKeyMapItem::maptype

Keymap editor.

Definition at line 483 of file DNA_windowmanager_types.h.

Referenced by WM_keymap_item_restore_to_default().

◆ next

◆ oskey

◆ prev

struct wmKeyMapItem * wmKeyMapItem::prev

Definition at line 449 of file DNA_windowmanager_types.h.

Referenced by wm_keymap_item_copy().

◆ properties

◆ propvalue

short wmKeyMapItem::propvalue

◆ propvalue_str

char wmKeyMapItem::propvalue_str[64]

Runtime temporary storage for loading.

Definition at line 459 of file DNA_windowmanager_types.h.

Referenced by WM_modalkeymap_add_item_str().

◆ ptr

◆ shift

◆ type

◆ val


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