aboutsummaryrefslogtreecommitdiff
path: root/backends/events
diff options
context:
space:
mode:
authorMax Horn2010-07-17 18:41:38 +0000
committerMax Horn2010-07-17 18:41:38 +0000
commit0b48a71c9955b39117e2eb35b3e398f5c95c008a (patch)
treed3430fc6d2470955a74e53e6fb25256e069f6c9e /backends/events
parent1d4c82885ddcc0442671c863eef643aef2dc7dda (diff)
downloadscummvm-rg350-0b48a71c9955b39117e2eb35b3e398f5c95c008a.tar.gz
scummvm-rg350-0b48a71c9955b39117e2eb35b3e398f5c95c008a.tar.bz2
scummvm-rg350-0b48a71c9955b39117e2eb35b3e398f5c95c008a.zip
Remove PalmOS port
svn-id: r50964
Diffstat (limited to 'backends/events')
-rw-r--r--backends/events/default/default-events.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp
index 212cb130c1..0616713eab 100644
--- a/backends/events/default/default-events.cpp
+++ b/backends/events/default/default-events.cpp
@@ -95,13 +95,11 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
case Common::EVENT_KEYDOWN:
_modifierState = event.kbd.flags;
// init continuous event stream
- // not done on PalmOS because keyboard is emulated and keyup is not generated
-#if !defined(PALMOS_MODE)
_currentKeyDown.ascii = event.kbd.ascii;
_currentKeyDown.keycode = event.kbd.keycode;
_currentKeyDown.flags = event.kbd.flags;
_keyRepeatTime = time + kKeyRepeatInitialDelay;
-#endif
+
// Global Main Menu
if (event.kbd.hasFlags(Common::KBD_CTRL) && event.kbd.keycode == Common::KEYCODE_F5) {
if (g_engine && !g_engine->isPaused()) {