MouseDevice Class

Allows you to identify and track connected mouse devices.

Syntax

public ref class MouseDevice sealed : IMouseDevice  

The following example demonstrates how to obtain an instance of the MouseDevice class by calling the GetForCurrentView method.

C++

MouseDevice _mouseDevice = MouseDevice::GetForCurrentView();  

Requirements

Namespace: Windows.Devices.Input

Metadata: windows.winmd

See also

Reference

MouseDevice Members

Windows.Devices.Input Namespace