X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fpsemu_plugin_defs.h;h=034f21b4e03b7eaf7348827d7b25acf532e5f75c;hb=3b1a5e21b399fcb38c5d8ead3c16603f566d7ffa;hp=b40c77cdfd59ba33b2ba9b323da4f239749dd91b;hpb=8ddd009b7531148f4c2a24e0e327a541a24eb213;p=pcsx_rearmed.git diff --git a/include/psemu_plugin_defs.h b/include/psemu_plugin_defs.h index b40c77cd..034f21b4 100644 --- a/include/psemu_plugin_defs.h +++ b/include/psemu_plugin_defs.h @@ -5,8 +5,6 @@ extern "C" { #endif -#include - // header version #define _PPDK_HEADER_VERSION 3 @@ -193,9 +191,14 @@ typedef struct typedef struct { - // controler type - fill it withe predefined values above + // controller type - fill it withe predefined values above unsigned char controllerType; + //0 : no multitap between psx and pad + //1 : multitap between psx and pad on port 1 + //2 : multitap between psx and pad on port 2 + int portMultitap; + // status of buttons - every controller fills this field unsigned short buttonStatus; @@ -207,11 +210,10 @@ typedef struct // values are in range -128 - 127 unsigned char moveX, moveY; - uint8_t Vib[2]; - - volatile uint8_t VibF[2]; + unsigned char Vib[2]; + unsigned char VibF[2]; - unsigned char reserved[87]; + unsigned char reserved[87]; } PadDataS;