class KeyboardDevice
Defined in:
Encapsulates a keyboard device.
C4Input.h
Definition
class KeyboardDevice final : public InputDevice
Description
The KeyboardDevice
class encapsulates a keyboard device. Each keyboard device has a HID usage value of 0x00010006
(keyboard) or 0x00010007
(keypad).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.
Base Classes
InputDevice |
A KeyboardDevice is a specific type of input device.
|
See Also