aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2011-11-30 00:06:57 +0100
committerStrangerke2011-11-30 00:06:57 +0100
commitd263bd26f22f4563fe5dbaa6b68ec04004cf46c6 (patch)
tree2a2789e3618816c17dd6ee7ca0abb0ae4c27566f /engines
parent732006611327898436da8b58f57611ffe39b4455 (diff)
downloadscummvm-rg350-d263bd26f22f4563fe5dbaa6b68ec04004cf46c6.tar.gz
scummvm-rg350-d263bd26f22f4563fe5dbaa6b68ec04004cf46c6.tar.bz2
scummvm-rg350-d263bd26f22f4563fe5dbaa6b68ec04004cf46c6.zip
CGE: Remove several useless constants in Keys enum
Diffstat (limited to 'engines')
-rw-r--r--engines/cge/events.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/engines/cge/events.h b/engines/cge/events.h
index ac1e6231fe..7ead4cbc7b 100644
--- a/engines/cge/events.h
+++ b/engines/cge/events.h
@@ -52,32 +52,14 @@ enum EventMask {
};
enum Keys {
- NoKey = 0, CtrlA, CtrlB, CtrlC, CtrlD, CtrlE, CtrlF, CtrlG, CtrlH,
- CtrlI, CtrlJ, CtrlK, CtrlL, CtrlM, CtrlN, CtrlO, CtrlP,
- CtrlQ, CtrlR, CtrlS, CtrlT, CtrlU, CtrlV, CtrlW, CtrlX,
- CtrlY, CtrlZ,
BSp = 8, Tab,
Enter = 13,
- Eof = 26, Esc,
- AltQ = 256 + 16, AltW, AltE, AltR, AltT, AltY, AltU, AltI, AltO, AltP,
- AltA = 256 + 30, AltS, AltD, AltF, AltG, AltH, AltJ, AltK, AltL,
- AltZ = 256 + 44, AltX, AltC, AltV, AltB, AltN, AltM,
+ Esc = 27,
F11 = 256 + 87, F12,
F1 = 256 + 59, F2, F3, F4, F5, F6, F7, F8, F9, F10,
- ShiftTab = 256 + 15,
- ShiftF1 = 256 + 84, ShiftF2, ShiftF3, ShiftF4, ShiftF5,
- ShiftF6, ShiftF7, ShiftF8, ShiftF9, ShiftF10,
- CtrlF1 = 256 + 94, CtrlF2, CtrlF3, CtrlF4, CtrlF5,
- CtrlF6, CtrlF7, CtrlF8, CtrlF9, CtrlF10,
- AltF1 = 256 + 104, AltF2, AltF3, AltF4, AltF5,
- AltF6, AltF7, AltF8, AltF9, AltF10,
Home = 256 + 71, Up, PgUp,
Left = 256 + 75, Ctr, Right,
- End = 256 + 79, Down, PgDn, Ins, Del,
- CtrlLeft = 256 + 115, CtrlRight, CtrlEnd, CtrlPgDn, CtrlHome,
- CtrlPgUp = 256 + 132,
- MouseLeft = 512 + 1, MouseRight,
- TwiceLeft = 512 + 256 + 1, TwiceRight
+ End = 256 + 79, Down, PgDn, Ins, Del
};
class Keyboard {