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
This commit is contained in:
Yotam Barnoy 2010-10-06 21:26:45 +00:00
parent b15f51ad7b
commit e47e474cff
8 changed files with 694 additions and 332 deletions

View file

@ -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;