summaryrefslogtreecommitdiff
path: root/libpcsxcore/psemu_plugin_defs.h
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-05 07:17:39 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-05 07:17:39 +0000
commitad055a84cd084b0de505fea5c61a9e3ac9ec9297 (patch)
treed28f8f6967676c8cee0751f1731fdfb1b8d5d288 /libpcsxcore/psemu_plugin_defs.h
parentfb3257e40a998d0a10c0219c159390a600c43e7c (diff)
downloadpcsxr-ad055a84cd084b0de505fea5c61a9e3ac9ec9297.tar.gz
Got rid of PAD_readPort1()/PAD_readPort2().
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47359 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/psemu_plugin_defs.h')
-rw-r--r--libpcsxcore/psemu_plugin_defs.h10
1 files changed, 5 insertions, 5 deletions
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