Defined in:Encapsulates a keyboard device.
class KeyboardDevice final : public InputDevice
KeyboardDevice class encapsulates a keyboard device. Each keyboard device has a HID usage value of
0x00010006 (keyboard) or
The input controls belonging to a keyboard device are always key button controls represented by the
KeyButtonControl class. The HID usage page contained in the high 16 bits of the full 32-bit usage value for each control is always
0x0007, corresponding to the Keyboard/Keypad page in the HID Specification. The low 16 bits of the full usage value identify the specific key represented by each control.
KeyboardDevice is a specific type of input device.