...
This object allows you to emulate USB HID devices, but currently, the only supported type of device is a USB keyboard.
Warning | ||
---|---|---|
| ||
USB keyboard codes are different from PS/2, ASCII, and BrightSign keyboard codes. |
...
Sends a keydown event for the specified USB key code. This method returns true
on success. If there's a failure, use GetFailureReason()
to get the reason for the failure.
Note | ||
---|---|---|
| ||
USB keyboards only have 6-key rollover, therefore only six keys can be down at one time. |
...
Sends a keyup event for the specified USB key code. This function returns true
on success, and returns fails
on failure (e.g. if the specified key was not already down). If there's a failure, use GetFailureReason()
to get the reason for the failure.
KeyPress(a As Integer) As Boolean
...
Returns additional information if Enable()
a method fails.