From 2b23374468549722c8068d448d9bbf5e100d7301 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 22 Jun 2007 20:04:44 +0000 Subject: Converted lots of code to use Common::ASCII_* and COMMON::KEYCODE_* constants. This also revealed the evil mixing of keycodes and ascii we do in many places :-/ svn-id: r27616 --- common/events.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/events.h b/common/events.h index 253c9f053c..3580ac3144 100644 --- a/common/events.h +++ b/common/events.h @@ -232,7 +232,10 @@ enum { ASCII_F6 = 320, ASCII_F7 = 321, ASCII_F8 = 322, - ASCII_F9 = 323 + ASCII_F9 = 323, + ASCII_F10 = 324, + ASCII_F11 = 325, + ASCII_F12 = 326 }; /** @@ -300,7 +303,6 @@ struct Event { * This depends on modifiers, i.e. pressing the 'A' key results in * different values here depending on the status of shift, alt and * caps lock. - * For the function keys F1-F9, values of 315-323 are used. */ uint16 ascii; /** -- cgit v1.2.3