diff options
Diffstat (limited to 'source/blender/windowmanager/wm_event_types.h')
-rw-r--r-- | source/blender/windowmanager/wm_event_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h index 9b9af1844b6..4ccfc7e8a81 100644 --- a/source/blender/windowmanager/wm_event_types.h +++ b/source/blender/windowmanager/wm_event_types.h @@ -190,7 +190,8 @@ #define GRLESSKEY 173 /* for event checks */ -#define ISKEYBOARD(event) (event >='a' && event <=255) + /* only used for KM_TEXTINPUT, so assume that we want all user-inputtable ascii codes included */ +#define ISKEYBOARD(event) (event >=' ' && event <=255) /* **************** BLENDER GESTURE EVENTS ********************* */ |