v1.1.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Modules Pages
Static Public Member Functions | List of all members
Sifteo::Usb Class Reference

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...
 

Detailed Description

Global USB operations.

Check the USB sample in your SDK download for an example of how to use this system.

Member Function Documentation

static bool Sifteo::Usb::isConnected ( )
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.


The documentation for this class was generated from the following file: