InputMgr::GetFirstInputDevice
Defined in:
Returns the first input device in the Input Manager's device list.
C4Input.h
Prototype
InputDevice *GetFirstInputDevice(void) const;
Description
The GetFirstInputDevice
function returns the first input device in the Input Manager's device list. The return value can be nullptr
if there are no input devices connected to the computer. The entire list of input devices can be iterated by repeatedly calling the ListElement::GetNextListElement
function, beginning with the device returned by the GetFirstInputDevice
function.
See Also