diff options
author | John Willis | 2010-09-07 14:17:31 +0000 |
---|---|---|
committer | John Willis | 2010-09-07 14:17:31 +0000 |
commit | fd407eeca3f2d50bc1a005bbcfd171369daa4f5f (patch) | |
tree | 187d262fca4340c1423a9bab6b99b54dc3bb0df0 /backends/platform/gp2xwiz/gp2xwiz-main.cpp | |
parent | 532663c742150b341de22a65da4fd761da6f497a (diff) | |
download | scummvm-rg350-fd407eeca3f2d50bc1a005bbcfd171369daa4f5f.tar.gz scummvm-rg350-fd407eeca3f2d50bc1a005bbcfd171369daa4f5f.tar.bz2 scummvm-rg350-fd407eeca3f2d50bc1a005bbcfd171369daa4f5f.zip |
GP2XWIZ: Refactor backend.
* Add support for TouchScreen 'Tap Modes'
Left Click, Right Click and Hover.
* Rename OSystem_GP2XWIZ to OSystem_GPH to
start the work on supporting a unified
backend codebase for the GP2X, Wiz and
Caanoo.
* Sort out bugs in Caanoo input code.
* Rework GP2XWiz input code to support
switching new TouchScreen modes.
svn-id: r52619
Diffstat (limited to 'backends/platform/gp2xwiz/gp2xwiz-main.cpp')
-rw-r--r-- | backends/platform/gp2xwiz/gp2xwiz-main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/gp2xwiz/gp2xwiz-main.cpp b/backends/platform/gp2xwiz/gp2xwiz-main.cpp index 839afa6a95..a40b49ae18 100644 --- a/backends/platform/gp2xwiz/gp2xwiz-main.cpp +++ b/backends/platform/gp2xwiz/gp2xwiz-main.cpp @@ -57,7 +57,7 @@ #define DUMP_STDOUT int main(int argc, char *argv[]) { - g_system = new OSystem_GP2XWIZ(); + g_system = new OSystem_GPH(); assert(g_system); #ifdef DYNAMIC_MODULES PluginManager::instance().addPluginProvider(new POSIXPluginProvider()); @@ -70,7 +70,7 @@ int main(int argc, char *argv[]) { return res; } -void OSystem_GP2XWIZ::initBackend() { +void OSystem_GPH::initBackend() { /* Setup default save path to be workingdir/saves */ @@ -164,7 +164,7 @@ void OSystem_GP2XWIZ::initBackend() { OSystem_SDL::initBackend(); } -void OSystem_GP2XWIZ::addSysArchivesToSearchSet(Common::SearchSet &s, int priority) { +void OSystem_GPH::addSysArchivesToSearchSet(Common::SearchSet &s, int priority) { /* Setup default extra data paths for engine data files and plugins */ char workDirName[PATH_MAX+1]; @@ -199,7 +199,7 @@ void OSystem_GP2XWIZ::addSysArchivesToSearchSet(Common::SearchSet &s, int priori } } -void OSystem_GP2XWIZ::quit() { +void OSystem_GPH::quit() { WIZ_HW::deviceDeinit(); |