summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-09 00:29:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-09 00:29:36 +0300
commit1f0070646425aeb23f01d769f5b1cf071d1d3d15 (patch)
tree88963fbb47aec20e4346399ae0fdf0d4b2346e5f
parent275cc0d950621404b8284f324e08a218c7f681c9 (diff)
downloadmanaplus-1f0070646425aeb23f01d769f5b1cf071d1d3d15.tar.gz
manaplus-1f0070646425aeb23f01d769f5b1cf071d1d3d15.tar.bz2
manaplus-1f0070646425aeb23f01d769f5b1cf071d1d3d15.tar.xz
manaplus-1f0070646425aeb23f01d769f5b1cf071d1d3d15.zip
Add id to each keyvalue values.
-rw-r--r--src/enums/input/keyvalue.h86
1 files changed, 43 insertions, 43 deletions
diff --git a/src/enums/input/keyvalue.h b/src/enums/input/keyvalue.h
index 9b4d0ebaa..9b83e9666 100644
--- a/src/enums/input/keyvalue.h
+++ b/src/enums/input/keyvalue.h
@@ -82,49 +82,49 @@ namespace KeyValue
ENTER = '\n',
// Negative values, to avoid conflicts with higher character codes.
LEFT_ALT = -1000,
- RIGHT_ALT,
- LEFT_SHIFT,
- RIGHT_SHIFT,
- LEFT_CONTROL,
- RIGHT_CONTROL,
- LEFT_META,
- RIGHT_META,
- LEFT_SUPER,
- RIGHT_SUPER,
- INSERT,
- HOME,
- PAGE_UP,
- DELETE_,
- END,
- PAGE_DOWN,
- ESCAPE,
- CAPS_LOCK,
- BACKSPACE,
- F1,
- F2,
- F3,
- F4,
- F5,
- F6,
- F7,
- F8,
- F9,
- F10,
- F11,
- F12,
- F13,
- F14,
- F15,
- PRINT_SCREEN,
- SCROLL_LOCK,
- PAUSE,
- NUM_LOCK,
- ALT_GR,
- LEFT,
- RIGHT,
- UP,
- DOWN,
- TEXTINPUT
+ RIGHT_ALT = -999,
+ LEFT_SHIFT = -998,
+ RIGHT_SHIFT = -997,
+ LEFT_CONTROL = -996,
+ RIGHT_CONTROL = -995,
+ LEFT_META = -994,
+ RIGHT_META = -993,
+ LEFT_SUPER = -992,
+ RIGHT_SUPER = -991,
+ INSERT = -990,
+ HOME = -989,
+ PAGE_UP = -988,
+ DELETE_ = -987,
+ END = -986,
+ PAGE_DOWN = -985,
+ ESCAPE = -984,
+ CAPS_LOCK = -983,
+ BACKSPACE = -982,
+ F1 = -981,
+ F2 = -980,
+ F3 = -979,
+ F4 = -978,
+ F5 = -977,
+ F6 = -978,
+ F7 = -977,
+ F8 = -976,
+ F9 = -975,
+ F10 = -974,
+ F11 = -973,
+ F12 = -972,
+ F13 = -971,
+ F14 = -970,
+ F15 = -969,
+ PRINT_SCREEN = -968,
+ SCROLL_LOCK = -967,
+ PAUSE = -966,
+ NUM_LOCK = -965,
+ ALT_GR = -964,
+ LEFT = -963,
+ RIGHT = -962,
+ UP = -961,
+ DOWN = -960,
+ TEXTINPUT = -959
};
} // namespace KeyValue