aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp32/gp32_osys.cpp
diff options
context:
space:
mode:
authorMax Horn2007-06-22 23:43:17 +0000
committerMax Horn2007-06-22 23:43:17 +0000
commit05a70fc8e404bd2003e8faa3bc1d4564918eca03 (patch)
tree27db3513094a4453f614b4fe125ff5a78f58e53a /backends/platform/gp32/gp32_osys.cpp
parentd9718b068446add78e62c92f104e1ad6243d19ef (diff)
downloadscummvm-rg350-05a70fc8e404bd2003e8faa3bc1d4564918eca03.tar.gz
scummvm-rg350-05a70fc8e404bd2003e8faa3bc1d4564918eca03.tar.bz2
scummvm-rg350-05a70fc8e404bd2003e8faa3bc1d4564918eca03.zip
Produce 'correct' keycode/ascii values for function keys
svn-id: r27642
Diffstat (limited to 'backends/platform/gp32/gp32_osys.cpp')
-rw-r--r--backends/platform/gp32/gp32_osys.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/gp32/gp32_osys.cpp b/backends/platform/gp32/gp32_osys.cpp
index 1f07b0660d..f6e0a10bbc 100644
--- a/backends/platform/gp32/gp32_osys.cpp
+++ b/backends/platform/gp32/gp32_osys.cpp
@@ -529,7 +529,7 @@ bool OSystem_GP32::pollEvent(Common::Event &event) {
if (_overlayVisible)
event.kbd.keycode = event.kbd.ascii = 13;
else {
- event.kbd.keycode = Common::ASCII_F5; // FIXME: Should be KEYCODE_F5
+ event.kbd.keycode = Common::KEYCODE_F5;
event.kbd.ascii = Common::ASCII_F5;
}
return true;
@@ -603,7 +603,7 @@ bool OSystem_GP32::pollEvent(Common::Event &event) {
if (_overlayVisible)
event.kbd.keycode = event.kbd.ascii = 13;
else {
- event.kbd.keycode = Common::ASCII_F5; // FIXME: Should be KEYCODE_F5
+ event.kbd.keycode = Common::KEYCODE_F5;
event.kbd.ascii = Common::ASCII_F5;
}
return true;