Blender V5.0
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
int8_t shift
int8_t ctrl
int8_t alt
int8_t oskey
int8_t hyper
char _pad0 [7]
short keymodifier
uint8_t flag
uint8_t maptype
short id
struct PointerRNAptr

Detailed Description

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

Definition at line 341 of file DNA_windowmanager_types.h.

Member Data Documentation

◆ _pad0

char wmKeyMapItem::_pad0[7]

Definition at line 382 of file DNA_windowmanager_types.h.

◆ alt

◆ ctrl

◆ direction

int8_t wmKeyMapItem::direction

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

Definition at line 365 of file DNA_windowmanager_types.h.

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

◆ flag

◆ hyper

◆ id

short wmKeyMapItem::id

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

Definition at line 394 of file DNA_windowmanager_types.h.

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

◆ idname

◆ keymodifier

◆ maptype

uint8_t wmKeyMapItem::maptype

Keymap editor.

Definition at line 392 of file DNA_windowmanager_types.h.

Referenced by wm_keymap_item_equals(), and WM_keymap_item_restore_to_default().

◆ next

◆ oskey

◆ prev

struct wmKeyMapItem * wmKeyMapItem::prev

Definition at line 342 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 352 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: