UI adjustments, nub support

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@291 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-11-10 15:48:32 +00:00
parent 1f4e9f147f
commit 9caf44b59b
11 changed files with 152 additions and 87 deletions

View file

@ -36,6 +36,8 @@ unsigned int psp_pad_read(int blocking);
int psp_get_cpu_clock(void);
int psp_set_cpu_clock(int clock);
char *psp_get_status_line(void);
/* shorter btn names */
#define BTN_UP PSP_CTRL_UP
#define BTN_LEFT PSP_CTRL_LEFT
@ -51,3 +53,9 @@ int psp_set_cpu_clock(int clock);
#define BTN_START PSP_CTRL_START
#define BTN_NOTE PSP_CTRL_NOTE // doesn't seem to work?
/* fake 'nub' btns */
#define BTN_NUB_UP (1 << 28)
#define BTN_NUB_RIGHT (1 << 29)
#define BTN_NUB_DOWN (1 << 30)
#define BTN_NUB_LEFT (1 << 31)