diff options
author | Max Horn | 2007-06-22 20:04:44 +0000 |
---|---|---|
committer | Max Horn | 2007-06-22 20:04:44 +0000 |
commit | 2b23374468549722c8068d448d9bbf5e100d7301 (patch) | |
tree | 0f932d85abb78a4dc9ecc93799ab7763753f3243 /common | |
parent | 2496c5b5549f7b3b3f1d7777812631505f8d578f (diff) | |
download | scummvm-rg350-2b23374468549722c8068d448d9bbf5e100d7301.tar.gz scummvm-rg350-2b23374468549722c8068d448d9bbf5e100d7301.tar.bz2 scummvm-rg350-2b23374468549722c8068d448d9bbf5e100d7301.zip |
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
Diffstat (limited to 'common')
-rw-r--r-- | common/events.h | 6 |
1 files changed, 4 insertions, 2 deletions
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; /** |