Versions Compared

Key

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

...

Sets the current modifier state as spspecified by an associative array using the format returned by GetModifierState(). Only modifiers that are listed will cause the state to change. Modifiers will persis until changed, or Clear() is called. 

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

Returns an associative array with the current state of all LED states on the keyboard. When a lock key is pressed, the host may send an LED state change. That will cause an event of type roUsbHidLedEmulator to be generated. This method is a way to get the current state without using an event. 

ifFailureReason 

GetFailureReason() As String 

...