Global USB operations. More...
#include <sifteo/usb.h>
Static Public Member Functions | |
static bool | isConnected () |
Is a device currently connected to a host via USB? More... | |
Global USB operations.
Check the USB sample in your SDK download for an example of how to use this system.
|
inlinestatic |
Is a device currently connected to a host via USB?
Returns true
if a device is connected right now, false
if not.
To get notified when the Base connects or disconnects, you can attach handlers to Events::usbConnect and Events::usbDisconnect.
Sifteo SDK v1.1.0 (see all versions)
Last updated Tue Dec 23 2014, by Doxygen