===== SetKey ===== Sets a keyboard key state. ELITEAPI_API void __stdcall SetKey(void* apiObject, unsigned char key, bool down); **Parameters** *//apiObject// [in] * A handle to an EliteAPI object. *//key// [in] * The key to set up or down. *//down// [in] * The down flag of the key.