Defined in:Encapsulates a mouse device.
class MouseDevice final : public InputDevice
MouseDeviceclass encapsulates a mouse device. Each mouse device has a HID usage value of
The following table lists the input controls that normally belong to a mouse device and their corresponding 32-bit HID usage values. A mouse device may have only a subset of these controls, and it may have additional controls that are not listed here. The axis controls listed in the table are relative axes represented by the
DeltaAxisControlclass, and the button controls are generic buttons represented by the
||Horizontal movement axis.|
||Vertical movement axis.|