C4 Engine
C4 Engine API Documentation

InputMgr::GetFirstInputDevice

Defined in:  C4Input.h
Returns the first input device in the Input Manager's device list.
Prototype

InputDevice *GetFirstInputDevice(voidconst;

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

InputMgr::FindInputDevice