2.5
[blender-staging.git] / source / blender / windowmanager / intern / wm_keymap.c
index 764b209d7557dd07344513c14e602fb89803e1d0..1d959665f402270a742bb1d15704183eb3fbc9f9 100644 (file)
@@ -290,3 +290,13 @@ char *WM_key_event_operator_string(const bContext *C, const char *opname, int op
        return NULL;
 }
 
+/* ********************* */
+
+int WM_key_event_is_tweak(short type)
+{
+       if(type>=EVT_TWEAK_L && type<=EVT_GESTURE)
+               return 1;
+       return 0;
+}
+
+