aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/osys_psp.h
diff options
context:
space:
mode:
authorYotam Barnoy2009-12-31 23:59:07 +0000
committerYotam Barnoy2009-12-31 23:59:07 +0000
commit832779497ebdd78c803bcf6975aa077ea199168b (patch)
tree7719d402bdd2d6d1c42861df53cb5bf82a3730ce /backends/platform/psp/osys_psp.h
parent9fff10378670e836d7e939b209b7c1da7f72e4c3 (diff)
downloadscummvm-rg350-832779497ebdd78c803bcf6975aa077ea199168b.tar.gz
scummvm-rg350-832779497ebdd78c803bcf6975aa077ea199168b.tar.bz2
scummvm-rg350-832779497ebdd78c803bcf6975aa077ea199168b.zip
PSP: added keypad to d-pad. Allows control of AGI,SCI0, and Indy3
svn-id: r46810
Diffstat (limited to 'backends/platform/psp/osys_psp.h')
-rw-r--r--backends/platform/psp/osys_psp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/psp/osys_psp.h b/backends/platform/psp/osys_psp.h
index ba26e30621..a01b7a0b1b 100644
--- a/backends/platform/psp/osys_psp.h
+++ b/backends/platform/psp/osys_psp.h
@@ -71,6 +71,7 @@ protected:
bool _mouseVisible;
int _mouseX, _mouseY;
+ int _dpadX, _dpadY;
int _mouseWidth, _mouseHeight;
int _mouseHotspotX, _mouseHotspotY;
byte _mouseKeyColour;
@@ -92,6 +93,8 @@ protected:
Audio::MixerImpl *_mixer;
Common::TimerManager *_timer;
+ Common::KeyCode getDpadEvent(int x, int y);
+
public:
OSystem_PSP();
virtual ~OSystem_PSP();