Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sets the current modifier state as specified by an associative array, using the format returned by GetModifierState(). Only modifiers that are listed will cause the state to change.

Note
titleNote

Modifiers will persist until changed, or Clear() is called. 

Code Block
languagejs
titleExample
hidkey.SetModifierState({ LeftShift : true });

...

Returns additional information if the  Enable() fails.