Mouse Class

Allows retrieval of position and button clicks from a mouse input device.

Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static class Mouse
Bb198101.note(en-us,XNAGameStudio.41).gifXbox 360 Specific Information

Mouse functionality is not supported, but mouse-related code will compile and execute. Values returned by these calls are inaccurate.

See Also

Tasks

Getting the Mouse Position (Windows, Windows Phone)

Concepts

Overview of User Input and Input Devices

Reference

Mouse Members
Microsoft.Xna.Framework.Input Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone