-static uint8_t pad_buf[] = { 0x41, 0x5A, 0xFF, 0xFF };
-static uint8_t pad_byte;
-
-static unsigned char PADstartPoll(int pad) {
- pad_byte = 0;
- pad_buf[2] = ~keystate;
- pad_buf[3] = ~keystate >> 8;
-
- return 0xFF;
+static long PADreadPort1(PadDataS *pad)
+{
+ pad->controllerType = PSE_PAD_TYPE_STANDARD;
+ pad->buttonStatus = ~keystate;
+ return 0;