X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fpsp%2Fpsp.h;h=d4a3d0e77df79b7501ef9e38f9dfca57cfad51e4;hb=8b99ab90aa519639a87c302c9a26fef526febde9;hp=8a2828e37b9549492f26651e600da7e2086d3351;hpb=8ab3e3c1cf696cb776b14ab511f98aa8ab22797e;p=picodrive.git diff --git a/platform/psp/psp.h b/platform/psp/psp.h index 8a2828e..d4a3d0e 100644 --- a/platform/psp/psp.h +++ b/platform/psp/psp.h @@ -1,3 +1,8 @@ +// (c) Copyright 2007 notaz, All rights reserved. +// Free for non-commercial use. + +// For commercial use, separate licencing terms must be obtained. + #include void psp_init(void); @@ -36,6 +41,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 +58,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) +