Add WPADInit,WPADSetAutoSleepTime and WPADDisconnect

This commit is contained in:
Maschell 2018-06-19 21:12:25 +02:00 committed by James Benton
parent 5f1b1902f6
commit 697edd3b69

View File

@ -139,6 +139,12 @@ typedef void (*WPADSamplingCallback)(WPADChan chan);
typedef void (*WPADExtensionCallback)(WPADChan chan, int32_t status);
typedef void (*WPADConnectCallback)(WPADChan chan, int32_t status);
void
WPADInit();
void
WPADShutdown();
int32_t
WPADProbe(WPADChan chan,
WPADExtensionType *outExtensionType);
@ -157,6 +163,12 @@ void
WPADRead(WPADChan chan,
void *data);
void
WPADSetAutoSleepTime(uint8_t time);
void
WPADDisconnect(WPADChan chan);
WPADConnectCallback
WPADSetConnectCallback(WPADChan chan,
WPADConnectCallback callback);