X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fpsemu_plugin_defs.h;h=b855eacc2087e01ff1cb9df3aa232f34463b19c5;hb=0c8d74c1f83970d40dfcdb6270699ff23c44ee5b;hp=6fc59b7fcad26e7448fb5af60403aba207233df5;hpb=ce4cd3d539bbd593d543f2ead52e44fbf552dbc5;p=pcsx_rearmed.git diff --git a/include/psemu_plugin_defs.h b/include/psemu_plugin_defs.h index 6fc59b7f..b855eacc 100644 --- a/include/psemu_plugin_defs.h +++ b/include/psemu_plugin_defs.h @@ -5,6 +5,10 @@ extern "C" { #endif +// this can't be __stdcall like it was in PSEmu API as too many functions are mixed up +#undef CALLBACK +#define CALLBACK + // header version #define _PPDK_HEADER_VERSION 3 @@ -219,6 +223,9 @@ typedef struct //configuration mode Request 0x43 int configMode; unsigned char reserved[87]; + + //Lightgun values + int absoluteX,absoluteY; } PadDataS;