Merge pull request #47 from alexis-puska/master
[pcsx_rearmed.git] / include / psemu_plugin_defs.h
index 0805f4a..09e950a 100644 (file)
@@ -191,9 +191,15 @@ 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;
+       int requestPadIndex;
+
        // status of buttons - every controller fills this field
        unsigned short buttonStatus;
 
@@ -205,11 +211,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;