DXScriptFunction::scriptedKeyEvents

Description
Run all bound scripts associated with the specified key. int DXScriptFunction::scriptedKeyEvents(const char _key);

Returns
Zero for success, nonzero for failure. For more detail of a failure, this function returns a member of the eScriptReturns enumeration.

Example
DXScript *dxscr = new DXScript; DXScriptFunction *dxscrf = new DXScriptFunction(dxscr); dxscrf->scriptedKeyEvents('W');