diff options
Diffstat (limited to 'backends/platform/wii/osystem_events.cpp')
-rw-r--r-- | backends/platform/wii/osystem_events.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/backends/platform/wii/osystem_events.cpp b/backends/platform/wii/osystem_events.cpp index e45ee8dd25..9f00528839 100644 --- a/backends/platform/wii/osystem_events.cpp +++ b/backends/platform/wii/osystem_events.cpp @@ -24,6 +24,7 @@ #include "osystem.h" +#include <ogc/lwp_watchdog.h> #ifndef GAMECUBE #include <wiiuse/wpad.h> #endif @@ -31,8 +32,6 @@ #include <wiikeyboard/keyboard.h> #endif -#include <ogc/lwp_watchdog.h> - #define TIMER_THREAD_STACKSIZE (1024 * 32) #define TIMER_THREAD_PRIO 64 @@ -322,6 +321,12 @@ bool OSystem_Wii::pollEvent(Common::Event &event) { if (bh & PADS_UP) { PAD_EVENT(PADS_START, Common::KEYCODE_F5, Common::ASCII_F5, Common::KBD_CTRL); + + if (bd & PADS_R) { + _consoleVisible = !_consoleVisible; + return false; + } + flags = Common::KBD_SHIFT; } |