AppBase::IsPadConnected

AppBase::IsPadConnected
virtual bool IsPadConnected(unsigned pad);
Description

IsPadConnected determines whether the game pad is connected with the application. For performance reasons GamePad will work only if it was connected before application launch.

Parameters
Parameters 
Description 
unsigned pad 
The number of controllers to connect. 
Return Value

Returns true if the game pad is connected and false otherwise.