|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.virtualbox_6_1.IUnknown
org.virtualbox_6_1.IKeyboard
public class IKeyboard
The IKeyboard interface represents the virtual machine's keyboard. Used
inIConsole.getKeyboard()
.
Use this interface to send keystrokes or the Ctrl-Alt-Del sequence
to the virtual machine.
Interface ID: {755E6BDF-1640-41F9-BD74-3EF5FD653250}
Field Summary |
---|
Fields inherited from class org.virtualbox_6_1.IUnknown |
---|
obj, objMgr, port |
Constructor Summary | |
---|---|
IKeyboard(java.lang.String wrapped,
org.virtualbox_6_1.ObjectRefManager objMgr,
org.virtualbox_6_1.jaxws.VboxPortType port)
|
Method Summary | |
---|---|
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. |
void |
putUsageCode(java.lang.Integer usageCode,
java.lang.Integer usagePage,
java.lang.Boolean keyRelease)
Sends a USB HID usage code and page to the keyboard. |
static IKeyboard |
queryInterface(IUnknown obj)
|
void |
releaseKeys()
Causes the virtual keyboard to release any keys which are currently pressed. |
Methods inherited from class org.virtualbox_6_1.IUnknown |
---|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IKeyboard(java.lang.String wrapped, org.virtualbox_6_1.ObjectRefManager objMgr, org.virtualbox_6_1.jaxws.VboxPortType port)
Method Detail |
---|
public java.util.List<KeyboardLED> getKeyboardLEDs()
public IEventSource getEventSource()
public static IKeyboard queryInterface(IUnknown obj)
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. |
public void putUsageCode(java.lang.Integer usageCode, java.lang.Integer usagePage, java.lang.Boolean keyRelease)
VBOX_E_IPRT_ERROR | Could not send usage code to virtual keyboard. |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |