X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fpsp%2Fpsp.h;h=7067f0512806604d8f9393fe1a7f755666cd484d;hb=6c2041fea0f4624daa988b5edd2bd4b7f9c381a7;hp=7269863b9817fc7478517603d2bcc3dfc1b3579d;hpb=ea08c2967b1c61e3b81c911dfd5eb7a0e72a28bf;p=picodrive.git diff --git a/platform/psp/psp.h b/platform/psp/psp.h index 7269863..7067f05 100644 --- a/platform/psp/psp.h +++ b/platform/psp/psp.h @@ -1,7 +1,10 @@ -// (c) Copyright 2007 notaz, All rights reserved. -// Free for non-commercial use. - -// For commercial use, separate licencing terms must be obtained. +/* + * PicoDrive + * (C) notaz, 2007,2008 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ #include @@ -48,23 +51,23 @@ void psp_wait_suspend(void); void psp_resume_suspend(void); /* shorter btn names */ -#define BTN_UP PSP_CTRL_UP -#define BTN_LEFT PSP_CTRL_LEFT -#define BTN_RIGHT PSP_CTRL_RIGHT -#define BTN_DOWN PSP_CTRL_DOWN -#define BTN_L PSP_CTRL_LTRIGGER -#define BTN_R PSP_CTRL_RTRIGGER -#define BTN_TRIANGLE PSP_CTRL_TRIANGLE -#define BTN_CIRCLE PSP_CTRL_CIRCLE -#define BTN_X PSP_CTRL_CROSS -#define BTN_SQUARE PSP_CTRL_SQUARE -#define BTN_SELECT PSP_CTRL_SELECT -#define BTN_START PSP_CTRL_START -#define BTN_NOTE PSP_CTRL_NOTE // doesn't seem to work? +#define PBTN_UP PSP_CTRL_UP +#define PBTN_LEFT PSP_CTRL_LEFT +#define PBTN_RIGHT PSP_CTRL_RIGHT +#define PBTN_DOWN PSP_CTRL_DOWN +#define PBTN_L PSP_CTRL_LTRIGGER +#define PBTN_R PSP_CTRL_RTRIGGER +#define PBTN_TRIANGLE PSP_CTRL_TRIANGLE +#define PBTN_CIRCLE PSP_CTRL_CIRCLE +#define PBTN_X PSP_CTRL_CROSS +#define PBTN_SQUARE PSP_CTRL_SQUARE +#define PBTN_SELECT PSP_CTRL_SELECT +#define PBTN_START PSP_CTRL_START +#define PBTN_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) +#define PBTN_NUB_UP (1 << 28) +#define PBTN_NUB_RIGHT (1 << 29) +#define PBTN_NUB_DOWN (1 << 30) +#define PBTN_NUB_LEFT (1 << 31)