Versions Compared

Key

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

This object allows you to emulate USB HID devices. 

ifUsbHidEmulator 

Enable() As Boolean 

Enables the HID device. This method returns true on success. If there's a failure, use GetFailureReason() to learn the reason for the failure. 

KeyDown(a As Integer) As Boolean 

Sends a key up event for the specified USB key code. This method returns true on success. 

Note
titleNote

USB keyboards only have 6-key rollover, therefore only six keys can be down at one time.

KeyUp(a As Integer) As Boolean 

Sends a key up event for the specified USB key code. This function returns True on success. 

ifFailureReason 

GetFailureReason() As String 

Returns add