diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-10-30 18:16:29 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-10-30 18:17:31 +0300 |
commit | a634bcbdb4bf9116c3ab7a3d73a24a701f2dfdac (patch) | |
tree | 4b1b78836818be22794e6798ec0605a09337ca79 /source/blender/windowmanager/wm_event_types.h | |
parent | af9da0be438812ee95698ae3e9adbbb49ba6b825 (diff) |
Add a few more warnings so coders hopefully will take note that event
codes get stored in keymaps and should not be changed
Diffstat (limited to 'source/blender/windowmanager/wm_event_types.h')
-rw-r--r-- | source/blender/windowmanager/wm_event_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h index b7e9d63751c..fe6d3431183 100644 --- a/source/blender/windowmanager/wm_event_types.h +++ b/source/blender/windowmanager/wm_event_types.h @@ -90,6 +90,8 @@ enum { /* standard keyboard. * XXX from 0x0020 to 0x00ff, and 0x012c to 0x013f for function keys! */ + + /* NOTE: these values are saved in keymap files, do not change them but just add new ones */ AKEY = 0x0061, /* 'a' */ BKEY = 0x0062, /* 'b' */ CKEY = 0x0063, /* 'c' */ @@ -301,6 +303,8 @@ enum { EVT_ACTIONZONE_REGION = 0x5001, EVT_ACTIONZONE_FULLSCREEN = 0x5011, + /* NOTE: these values are saved in keymap files, do not change them but just add new ones */ + /* tweak events, for L M R mousebuttons */ EVT_TWEAK_L = 0x5002, EVT_TWEAK_M = 0x5003, @@ -362,6 +366,7 @@ enum { /* ********** wmEvent.val ********** */ /* Gestures */ +/* NOTE: these values are saved in keymap files, do not change them but just add new ones */ enum { /* value of tweaks and line gestures, note, KM_ANY (-1) works for this case too */ EVT_GESTURE_N = 1, |