From ad055a84cd084b0de505fea5c61a9e3ac9ec9297 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Wed, 5 May 2010 07:17:39 +0000 Subject: Got rid of PAD_readPort1()/PAD_readPort2(). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47359 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/psemu_plugin_defs.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libpcsxcore/psemu_plugin_defs.h') diff --git a/libpcsxcore/psemu_plugin_defs.h b/libpcsxcore/psemu_plugin_defs.h index baaf7836..1b16fd42 100644 --- a/libpcsxcore/psemu_plugin_defs.h +++ b/libpcsxcore/psemu_plugin_defs.h @@ -132,8 +132,8 @@ typedef struct long PADtest(void); // called from Configure Dialog and after PADopen(); long PADquery(void); - long PADreadPort1(PadDataS *); - long PADreadPort2(PadDataS *); + unsigned char PADstartPoll(int); + unsigned char PADpoll(unsigned char); */ @@ -142,9 +142,9 @@ typedef struct // notice that PSEmu will call PADinit and PADopen only once when they are from // same plugin -// might be used in port 1 (must support PADreadPort1() function) +// might be used in port 1 #define PSE_PAD_USE_PORT1 1 -// might be used in port 2 (must support PADreadPort2() function) +// might be used in port 2 #define PSE_PAD_USE_PORT2 2 @@ -194,7 +194,7 @@ typedef struct unsigned short buttonStatus; // for analog pad fill those next 4 bytes - // values are analog in range 0-255 where 128 is center position + // values are analog in range 0-255 where 127 is center position unsigned char rightJoyX, rightJoyY, leftJoyX, leftJoyY; // for mouse fill those next 2 bytes -- cgit v1.2.3