# send_key_event {{< callout context="note" title="NOTE" icon="outline/bulb" >}} Deprecated. Use `fsEventsTriggerKeyEvent` instead. {{< /callout >}}   The **send\_key\_event** function transmits a `WM_COMMAND` application event.    ##### Syntax ``` wasm void send_key_event( ID32 event_id, UINT32 value ); ```   ##### Members {{< table-wrapper >}} | Parameters | Description | |------------|----------------------------------------------------------------------------------| | `event_id` | Specifies a `WM_COMMAND` event ID. | | `value` | Specifies a value to be transmitted along with the event ID. Can be set to zero. | {{< /table-wrapper >}}   ##### Return Values This function does not return a value.   ##### Remarks This function transmits a message with the following syntax: ``` wasm PostMessage(hwndMain, WM_COMMAND, event_id, (LPARAM) value); ```