From 4357fb63db77d8bee9b1a3d10fdf6abd55e4c798 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 12 Dec 2018 21:39:55 +1100 Subject: Keymap: event type filter w/ finding keymap items Now its possibly to ask for only keyboard/mouse/ndof events when finding key map items. --- source/blender/windowmanager/WM_keymap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/windowmanager/WM_keymap.h') 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, -- cgit v1.2.3