diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-12 13:39:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-12 13:43:26 +0300 |
commit | 4357fb63db77d8bee9b1a3d10fdf6abd55e4c798 (patch) | |
tree | 477adefe8069f2e09d091086fbf4bfb2968878fd /source/blender/windowmanager/WM_keymap.h | |
parent | adaadb2fa0a4fde53f5f09bc05f6758926e71f44 (diff) |
Keymap: event type filter w/ finding keymap items
Now its possibly to ask for only keyboard/mouse/ndof events
when finding key map items.
Diffstat (limited to 'source/blender/windowmanager/WM_keymap.h')
-rw-r--r-- | source/blender/windowmanager/WM_keymap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/WM_keymap.h b/source/blender/windowmanager/WM_keymap.h index 7f7612cea35..8f31685e453 100644 --- a/source/blender/windowmanager/WM_keymap.h +++ b/source/blender/windowmanager/WM_keymap.h @@ -144,8 +144,8 @@ int WM_keymap_item_raw_to_string( const short val, const short type, const bool compact, char *result, const int result_len); wmKeyMapItem *WM_key_event_operator( - const struct bContext *C, const char *opname, int opcontext, - struct IDProperty *properties, const bool is_hotkey, + const struct bContext *C, const char *opname, int opcontext, struct IDProperty *properties, + const short include_mask, const short exclude_mask, struct wmKeyMap **r_keymap); char *WM_key_event_operator_string( const struct bContext *C, const char *opname, int opcontext, |