-api-id | -api-type | ms.custom |
---|---|---|
T:Windows.Devices.Input.MouseDevice |
winrt class |
19H1 |
Supports the ability to identify and track connected mouse devices.
The Device Capabilities Sample demonstrates how to detect the presence of input devices and retrieve the capabilities and attributes of each device.
Note
This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).