diff options
author | Yotam Barnoy | 2010-10-06 21:26:45 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-10-06 21:26:45 +0000 |
commit | e47e474cff9823c789626f4b0b26ff69257b5263 (patch) | |
tree | fd271cd9d031888c74a078e1872d3c92147cc42a /backends/platform/psp/cursor.h | |
parent | b15f51ad7b5e8e85afe970c1740aae566236afe6 (diff) | |
download | scummvm-rg350-e47e474cff9823c789626f4b0b26ff69257b5263.tar.gz scummvm-rg350-e47e474cff9823c789626f4b0b26ff69257b5263.tar.bz2 scummvm-rg350-e47e474cff9823c789626f4b0b26ff69257b5263.zip |
PSP: rewrote input code and added an input mode
The old input code was getting too messy. A redesign made it easier to modify and add several modes and combos, including one for 1st person games which benefit from a different control scheme. A combo switches between the modes. I also added directional support while the virtual keyboard is visible, using the nub. This allows moving around in the text in some games, and moving the character while typing for others (e.g. AGI)
svn-id: r53042
Diffstat (limited to 'backends/platform/psp/cursor.h')
-rw-r--r-- | backends/platform/psp/cursor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/psp/cursor.h b/backends/platform/psp/cursor.h index c3d4d76803..2ff0415c6c 100644 --- a/backends/platform/psp/cursor.h +++ b/backends/platform/psp/cursor.h @@ -26,6 +26,8 @@ #ifndef MOUSE_H #define MOUSE_H +#include "backends/platform/psp/default_display_client.h" + class Cursor : public DefaultDisplayClient { private: int _hotspotX, _hotspotY; |