X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=include%2Fpsemu_plugin_defs.h;h=7232d033c933c81ccf98bf8e0e4db3fe166c85ac;hb=6f1d3c7a18600c59227b3373a5205841174f8e44;hp=b40c77cdfd59ba33b2ba9b323da4f239749dd91b;hpb=8ddd009b7531148f4c2a24e0e327a541a24eb213;p=pcsx_rearmed.git diff --git a/include/psemu_plugin_defs.h b/include/psemu_plugin_defs.h index b40c77cd..7232d033 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 @@ -196,6 +194,11 @@ typedef struct // controler 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;