C4 Engine Terathon Software C4 Engine API Documentation

• Logitech Plugin

API Links
Developer Links

LogitechPlugin::GetFirstDevice

Defined in:  C4LogitechPlugin.h
Returns a pointer to the first Logitech device instance.
Prototype

LogitechDevice *GetFirstDevice(voidconst;

Description
The GetFirstDevice function returns a pointer to the first Logitech device instance in the list of devices connected to the computer. If there are no Logitech devices connected to the computer having LCD display capabilities, then the return value is nullptr. The ListElement::Next function can be used to iterate through all devices in the list.
See Also

LogitechDevice