diff options
author | Andre Heider | 2009-02-21 11:24:16 +0000 |
---|---|---|
committer | Andre Heider | 2009-02-21 11:24:16 +0000 |
commit | 17def116585b3cad1a4f0ee882c89921b97d7793 (patch) | |
tree | 52fb08dc70dedb757dd5f5cf3ffba209ccbd060d /backends/platform | |
parent | c3068549da7bf05483263ce041b3fd863d9ef92d (diff) | |
download | scummvm-rg350-17def116585b3cad1a4f0ee882c89921b97d7793.tar.gz scummvm-rg350-17def116585b3cad1a4f0ee882c89921b97d7793.tar.bz2 scummvm-rg350-17def116585b3cad1a4f0ee882c89921b97d7793.zip |
map dpad right to the predictive dialog
svn-id: r38681
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/wii/osystem_events.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/backends/platform/wii/osystem_events.cpp b/backends/platform/wii/osystem_events.cpp index a89f5f2909..202c3ecfd7 100644 --- a/backends/platform/wii/osystem_events.cpp +++ b/backends/platform/wii/osystem_events.cpp @@ -323,7 +323,12 @@ bool OSystem_Wii::pollEvent(Common::Event &event) { PAD_EVENT(PADS_UP, Common::KEYCODE_F5, Common::ASCII_F5, Common::KBD_CTRL); PAD_EVENT(PADS_DOWN, Common::KEYCODE_F7, Common::ASCII_F7, 0); //PAD_EVENT(PADS_LEFT, Common::KEYCODE_F8, Common::ASCII_F8, 0); - //PAD_EVENT(PADS_RIGHT, Common::KEYCODE_n, 'n', 0); + + if (bd & PADS_RIGHT) { + event.type = Common::EVENT_PREDICTIVE_DIALOG; + + return true; + } if ((bd | bu) & (PADS_A | PADS_B)) { if (bd & PADS_A) |