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: {A7C88B82-2330-44E3-B247-1421A018F9C1}Constructor and Description |
---|
IKeyboard(java.lang.String wrapped,
org.virtualbox_6_0.ObjectRefManager objMgr,
org.virtualbox_6_0.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
IEventSource |
getEventSource()
Event source for keyboard events.
|
java.util.List<KeyboardLED> |
getKeyboardLEDs()
Current status of the guest keyboard LEDs.
|
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) |
void |
releaseKeys()
Causes the virtual keyboard to release any keys which are
currently pressed.
|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IKeyboard(java.lang.String wrapped, org.virtualbox_6_0.ObjectRefManager objMgr, org.virtualbox_6_0.jaxws.VboxPortType port)
public java.util.List<KeyboardLED> getKeyboardLEDs()
public IEventSource getEventSource()
public void putScancode(java.lang.Integer scancode)
VBOX_E_IPRT_ERROR | Could not send scan code to virtual keyboard. |
public java.lang.Long putScancodes(java.util.List<java.lang.Integer> scancodes)
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:
VBOX_E_IPRT_ERROR | Could not send all scan codes to virtual keyboard. |
public void releaseKeys()
VBOX_E_IPRT_ERROR | Could not release some or all keys. |