Add a few more warnings so coders hopefully will take note that event

codes get stored in keymaps and should not be changed
This commit is contained in:
Antony Riakiotakis
2014-10-30 16:16:29 +01:00
parent af9da0be43
commit a634bcbdb4

View File

@@ -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,