WM: add keymap.find_from_operator(...)
[blender.git] / source / blender / windowmanager / WM_keymap.h
index 8f31685e453a1046339bce8999d00746d62fdca6..7780c060243f425ca949ac839ce632f40a9abace 100644 (file)
@@ -152,6 +152,10 @@ char *WM_key_event_operator_string(
         struct IDProperty *properties, const bool is_strict,
         char *result, const int result_len);
 
+wmKeyMapItem *WM_key_event_operator_from_keymap(
+        struct wmKeyMap *keymap, const char *opname, struct IDProperty *properties,
+        const short include_mask, const short exclude_mask);
+
 const char *WM_bool_as_string(bool test);
 
 #ifdef __cplusplus