Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
XButton1 Property

MouseState.XButton1 Property

Returns the state of XBUTTON1.
Bb199891.note(en-us,XNAGameStudio.31).gifXbox 360 Specific Information
The value of this property is always ButtonState.Released.
Bb199891.note(en-us,XNAGameStudio.31).gifZune Specific Information
The value of this property is always ButtonState.Released.

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

public ButtonState XButton1 { get; }

Property Value

The state of XBUTTON1.

XBUTTON1 and XBUTTON2 are additional buttons used on many mouse devices, often for forward and backward navigation in Web browsers. They return the same data as standard mouse buttons.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions

ADD
Show:
© 2015 Microsoft