How to: Determine Whether a Mouse is Connected

If your exclusive app accepts input from mouse devices, you should display a cursor whenever a mouse is plugged into the Xbox One console. You might also choose to hide the cursor when the mouse is unplugged. This topic explains how to programmatically determine whether a mouse device is currently connected to an Xbox One console.

To determine whether a mouse is connected to an Xbox One console

See also

Overview

Mouse Input
Input Technologies and Devices Overviews

Reference

MouseDevice Class
MouseCapabilities.MousePresent Property