connected property

bool connected
getter/setter pair

Indicates if the controller is connected to a device. Returns true if a device is connected and false if it's not.

Implementation

bool connected = false;