From d263bd26f22f4563fe5dbaa6b68ec04004cf46c6 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 30 Nov 2011 00:06:57 +0100 Subject: CGE: Remove several useless constants in Keys enum --- engines/cge/events.h | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'engines') 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 { -- cgit v1.2.3