mirror of https://github.com/AxioDL/boo.git
Fix last commit (how????)
This commit is contained in:
parent
10c14a0c39
commit
bfae7bb54a
|
@ -74,7 +74,7 @@ void DualshockPad::initialCycle()
|
||||||
|
|
||||||
void DualshockPad::transferCycle()
|
void DualshockPad::transferCycle()
|
||||||
{
|
{
|
||||||
DualshockControllerState state;
|
DualshockPadState state;
|
||||||
size_t recvSz = receiveUSBInterruptTransfer((uint8_t*)&state, 49);
|
size_t recvSz = receiveUSBInterruptTransfer((uint8_t*)&state, 49);
|
||||||
if (recvSz != 49)
|
if (recvSz != 49)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -22,13 +22,13 @@ class DolphinSmashAdapterCallback : public IDolphinSmashAdapterCallback
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class DualshockPadCallback : public IDualshockControllerCallback
|
class DualshockPadCallback : public IDualshockPadCallback
|
||||||
{
|
{
|
||||||
void controllerDisconnected()
|
void controllerDisconnected()
|
||||||
{
|
{
|
||||||
printf("CONTROLLER DISCONNECTED\n");
|
printf("CONTROLLER DISCONNECTED\n");
|
||||||
}
|
}
|
||||||
void controllerUpdate(const DualshockControllerState& state)
|
void controllerUpdate(const DualshockPadState& state)
|
||||||
{
|
{
|
||||||
static time_t timeTotal;
|
static time_t timeTotal;
|
||||||
static time_t lastTime = 0;
|
static time_t lastTime = 0;
|
||||||
|
|
Loading…
Reference in New Issue