Defined in:Encapsulates a keyboard device.
class KeyboardDevice final : public InputDevice
KeyboardDeviceclass encapsulates a keyboard device. Each keyboard device has a HID usage value of
The input controls belonging to a keyboard device are always key button controls represented by the
KeyButtonControlclass. 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.