public class IKeyboard extends IUnknown
IConsole.getKeyboard().
Use this interface to send keystrokes or the Ctrl-Alt-Del sequence
to the virtual machine.
Interface ID: {F6916EC5-A881-4237-898F-7DE58CF88672}| Constructor and Description |
|---|
IKeyboard(java.lang.String wrapped,
org.virtualbox_4_3.jaxws.VboxPortType port) |
| Modifier and Type | Method and Description |
|---|---|
IEventSource |
getEventSource()
Event source for keyboard events.
|
void |
putCAD()
Sends the Ctrl-Alt-Del sequence to the keyboard.
|
void |
putScancode(java.lang.Integer scancode)
Sends a scancode to the keyboard.
|
java.lang.Long |
putScancodes(java.util.List<java.lang.Integer> scancodes)
Sends an array of scancodes to the keyboard.
|
static IKeyboard |
queryInterface(IUnknown obj) |
getRemoteWSPort, getWrapped, releaseRemotepublic IKeyboard(java.lang.String wrapped,
org.virtualbox_4_3.jaxws.VboxPortType port)
public IEventSource getEventSource()
public void putScancode(java.lang.Integer scancode)
| @link ::VBOX_E_IPRT_ERROR VBOX_E_IPRT_ERROR | Could not send scan code to virtual keyboard. |
public java.lang.Long putScancodes(java.util.List<java.lang.Integer> scancodes)
| @link ::VBOX_E_IPRT_ERROR VBOX_E_IPRT_ERROR | Could not send all scan codes to virtual keyboard. |
public void putCAD()
putScancodes(List)with the proper scancodes.
Expected result codes:
| @link ::VBOX_E_IPRT_ERROR VBOX_E_IPRT_ERROR | Could not send all scan codes to virtual keyboard. |