/// <summary>
/// Enumeration containing the button data for raw mouse input.
/// </summary>
[Flags()]
public enum RawMouseButtons
: ushort
{
/// <summary>No button.</summary>
None = 0,
/// <summary>Left (button 1) down.</summary>
LeftDown = 0x0001,
/// <summary>Left (button 1) up.</summary>
LeftUp = 0x0002,
/// <summary>Right (button 2) down.</summary>
RightDown = 0x0004,
/// <summary>Right (button 2) up.</summary>
RightUp = 0x0008,
/// <summary>Middle (button 3) down.</summary>
MiddleDown = 0x0010,
/// <summary>Middle (button 3) up.</summary>
MiddleUp = 0x0020,
/// <summary>Button 4 down.</summary>
Button4Down = 0x0040,
/// <summary>Button 4 up.</summary>
Button4Up = 0x0080,
/// <summary>Button 5 down.</summary>
Button5Down = 0x0100,
/// <summary>Button 5 up.</summary>
Button5Up = 0x0200,
/// <summary>Mouse wheel moved.</summary>
MouseWheel = 0x0400
}
''' <summary>
''' Enumeration containing the button data for raw mouse input.
''' </summary>
<Flags()> _
Public Enum RawMouseButtons As UShort
''' <summary>No button.</summary>
None = 0
''' <summary>Left (button 1) down.</summary>
LeftDown = &H1
''' <summary>Left (button 1) up.</summary>
LeftUp = &H2
''' <summary>Right (button 2) down.</summary>
RightDown = &H4
''' <summary>Right (button 2) up.</summary>
RightUp = &H8
''' <summary>Middle (button 3) down.</summary>
MiddleDown = &H10
''' <summary>Middle (button 3) up.</summary>
MiddleUp = &H20
''' <summary>Button 4 down.</summary>
Button4Down = &H40
''' <summary>Button 4 up.</summary>
Button4Up = &H80
''' <summary>Button 5 down.</summary>
Button5Down = &H100
''' <summary>Button 5 up.</summary>
Button5Up = &H200
''' <summary>Mouse wheel moved.</summary>
MouseWheel = &H400
End Enum
None.