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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user