X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico.h;h=c0aa6da991299c2693298f5f1e500d17d1cb3505;hb=531a8f38839713938a441f9287724e5e72c492c3;hp=0422dfd9a5da034100cd3c1c765b02eacb6fd1b4;hpb=be7867d8756f15956447d3275382a77a71922feb;p=picodrive.git diff --git a/pico/pico.h b/pico/pico.h index 0422dfd..c0aa6da 100644 --- a/pico/pico.h +++ b/pico/pico.h @@ -52,7 +52,7 @@ extern void *p32x_bios_g, *p32x_bios_m, *p32x_bios_s; #define POPT_EN_Z80 (1<< 2) #define POPT_EN_STEREO (1<< 3) #define POPT_ALT_RENDERER (1<< 4) // 00 00x0 -#define POPT_6BTN_PAD (1<< 5) +// unused (1<< 5) // unused (1<< 6) #define POPT_ACC_SPRITES (1<< 7) #define POPT_DIS_32C_BORDER (1<< 8) // 00 0x00 @@ -248,6 +248,14 @@ int PicoCdCheck(const char *fname_in, int *pregion); extern unsigned char media_id_header[0x100]; +// memory.c +enum input_device { + PICO_INPUT_NOTHING, + PICO_INPUT_PAD_3BTN, + PICO_INPUT_PAD_6BTN, +}; +void PicoSetInputDevice(int port, enum input_device device); + #ifdef __cplusplus } // End of extern "C" #endif