notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UI adjustments, nub support
[picodrive.git]
/
platform
/
psp
/
psp.h
diff --git
a/platform/psp/psp.h
b/platform/psp/psp.h
index
8a2828e
..
7f2d70d
100644
(file)
--- a/
platform/psp/psp.h
+++ b/
platform/psp/psp.h
@@
-36,6
+36,8
@@
unsigned int psp_pad_read(int blocking);
int psp_get_cpu_clock(void);
int psp_set_cpu_clock(int clock);
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
/* 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?
#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)
+