| VirtualBox Main API
    | 
The IKeyboard interface represents the virtual machine's keyboard. More...
 
 | Public Member Functions | |
| void | putScancode (in long scancode) | 
| Sends a scancode to the keyboard. | |
| void | putScancodes (in long[] scancodes, [retval] out unsigned long codesStored) | 
| Sends an array of scancodes to the keyboard. | |
| void | putCAD () | 
| Sends the Ctrl-Alt-Del sequence to the keyboard. | |
| void | releaseKeys () | 
| Causes the virtual keyboard to release any keys which are currently pressed. | |
| void | putUsageCode (in long usageCode, in long usagePage, in boolean keyRelease) | 
| Sends a USB HID usage code and page to the keyboard. | |
| Public Attributes | |
| readonly attribute KeyboardLED[] | keyboardLEDs | 
| Current status of the guest keyboard LEDs. | |
| readonly attribute IEventSource | eventSource | 
| Event source for keyboard events. | |
The IKeyboard interface represents the virtual machine's keyboard.
Used in IConsole::keyboard.
Use this interface to send keystrokes or the Ctrl-Alt-Del sequence to the virtual machine.
{755E6BDF-1640-41F9-BD74-3EF5FD653250} | void IKeyboard::putScancode | ( | in long | scancode | ) | 
Sends a scancode to the keyboard.
| VBOX_E_IPRT_ERROR | Could not send scan code to virtual keyboard. | 
| void IKeyboard::putScancodes | ( | in long[] | scancodes, | 
| [retval] out unsigned long | codesStored | ||
| ) | 
Sends an array of scancodes to the keyboard.
| VBOX_E_IPRT_ERROR | Could not send all scan codes to virtual keyboard. | 
| void IKeyboard::putCAD | ( | ) | 
Sends the Ctrl-Alt-Del sequence to the keyboard.
This function is nothing special, it is just a convenience function calling IKeyboard::putScancodes with the proper scancodes.
| VBOX_E_IPRT_ERROR | Could not send all scan codes to virtual keyboard. | 
| void IKeyboard::releaseKeys | ( | ) | 
Causes the virtual keyboard to release any keys which are currently pressed.
Useful when host and guest keyboard may be out of sync.
| VBOX_E_IPRT_ERROR | Could not release some or all keys. | 
| void IKeyboard::putUsageCode | ( | in long | usageCode, | 
| in long | usagePage, | ||
| in boolean | keyRelease | ||
| ) | 
Sends a USB HID usage code and page to the keyboard.
The keyRelease flag is set when the key is being released.
| VBOX_E_IPRT_ERROR | Could not send usage code to virtual keyboard. | 
| readonly attribute KeyboardLED [] IKeyboard::keyboardLEDs | 
Current status of the guest keyboard LEDs.
| readonly attribute IEventSource IKeyboard::eventSource | 
Event source for keyboard events.