« Back to Product

Documentation

HID_SendEvent

Require: IP-Symcon >= 2.0

 boolean HID_SendEvent (int $InstanceID, int $ReportID, string $Text) 

Parameters

InstanceID

ID of the HID to be updated

ReportID

ID of the ReportID to be sent

Text

The string to be sent

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Sends the string Text and the data record type ReportID on the HID with the ID InstanceID.

Example

HID_SendEvent(12345, 0, "Any data record"); //Sends the text "Any data record" to the HID with the ID 12345
Any questions?