1 instantiation of RawMouseActions
PresentationCore (1)
Core\CSharp\System\Windows\Input\MouseDevice.cs (1)
2148
RawMouseActions actions = new
RawMouseActions
();
158 references to RawMouseActions
PresentationCore (158)
Core\CSharp\System\Windows\Input\MouseDevice.cs (79)
987
RawMouseActions
.AbsoluteMove,
1280
if ((rawMouseInputReport.Actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
1286
if ((rawMouseInputReport.Actions & ~
RawMouseActions
.Activate) != 0)
1295
rawMouseInputReport.Actions & ~
RawMouseActions
.Activate,
1308
RawMouseActions
.Activate,
1364
if ((rawMouseInputReport.Actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
1379
if ((rawMouseInputReport.Actions &
RawMouseActions
.AbsoluteMove) ==
RawMouseActions
.AbsoluteMove)
1383
if ((rawMouseInputReport.Actions & ~(
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor)) != 0)
1392
rawMouseInputReport.Actions & ~(
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor),
1405
rawMouseInputReport.Actions & (
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor),
1504
RawMouseActions
actions = GetNonRedundantActions(e);
1505
RawMouseActions
originalActions = actions;
1513
if ((rawMouseInputReport.Actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
1517
actions |=
RawMouseActions
.Activate;
1555
if ((rawMouseInputReport.Actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
1564
if ((rawMouseInputReport.Actions &
RawMouseActions
.CancelCapture) ==
RawMouseActions
.CancelCapture)
1572
if ((rawMouseInputReport.Actions &
RawMouseActions
.AbsoluteMove) ==
RawMouseActions
.AbsoluteMove) // TODO: RelativeMove, VirtualDesktopMove
1800
actions |=
RawMouseActions
.AbsoluteMove; // TODO: RelativeMove, VirtualDesktopMove
1808
actions |=
RawMouseActions
.QueryCursor;
1813
if ((rawMouseInputReport.Actions &
RawMouseActions
.VerticalWheelRotate) ==
RawMouseActions
.VerticalWheelRotate)
1817
actions |=
RawMouseActions
.VerticalWheelRotate;
1824
if ((rawMouseInputReport.Actions &
RawMouseActions
.QueryCursor) ==
RawMouseActions
.QueryCursor)
1828
actions |=
RawMouseActions
.QueryCursor;
1831
RawMouseActions
[] ButtonPressActions =
1833
RawMouseActions
.Button1Press,
1834
RawMouseActions
.Button2Press,
1835
RawMouseActions
.Button3Press,
1836
RawMouseActions
.Button4Press,
1837
RawMouseActions
.Button5Press
1840
RawMouseActions
[] ButtonReleaseActions =
1842
RawMouseActions
.Button1Release,
1843
RawMouseActions
.Button2Release,
1844
RawMouseActions
.Button3Release,
1845
RawMouseActions
.Button4Release,
1846
RawMouseActions
.Button5Release
2004
RawMouseActions
actions = GetNonRedundantActions(e);
2012
if ((actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
2018
if ((actions &
RawMouseActions
.VerticalWheelRotate) ==
RawMouseActions
.VerticalWheelRotate) // TODO: HorizontalWheelRotate
2038
if ((actions &
RawMouseActions
.Button1Press) ==
RawMouseActions
.Button1Press)
2047
if ((actions &
RawMouseActions
.Button1Release) ==
RawMouseActions
.Button1Release)
2056
if ((actions &
RawMouseActions
.Button2Press) ==
RawMouseActions
.Button2Press)
2065
if ((actions &
RawMouseActions
.Button2Release) ==
RawMouseActions
.Button2Release)
2074
if ((actions &
RawMouseActions
.Button3Press) ==
RawMouseActions
.Button3Press)
2083
if ((actions &
RawMouseActions
.Button3Release) ==
RawMouseActions
.Button3Release)
2092
if ((actions &
RawMouseActions
.Button4Press) ==
RawMouseActions
.Button4Press)
2101
if ((actions &
RawMouseActions
.Button4Release) ==
RawMouseActions
.Button4Release)
2110
if ((actions &
RawMouseActions
.Button5Press) ==
RawMouseActions
.Button5Press)
2119
if ((actions &
RawMouseActions
.Button5Release) ==
RawMouseActions
.Button5Release)
2128
if ((actions &
RawMouseActions
.AbsoluteMove) ==
RawMouseActions
.AbsoluteMove) // TODO: RelativeMove, VirtualDesktopMove
2137
if ((actions &
RawMouseActions
.QueryCursor) ==
RawMouseActions
.QueryCursor)
2146
private
RawMouseActions
GetNonRedundantActions(NotifyInputEventArgs e)
2148
RawMouseActions
actions = new RawMouseActions();
2155
actions = (
RawMouseActions
) o;
Core\CSharp\System\Windows\Input\RawMouseInputReport.cs (48)
59
RawMouseActions
actions,
66
throw new System.ComponentModel.InvalidEnumArgumentException("actions", (int)actions, typeof(
RawMouseActions
));
79
public
RawMouseActions
Actions {get {return _actions;}}
114
internal static bool IsValidRawMouseActions(
RawMouseActions
actions)
116
if (actions ==
RawMouseActions
.None)
119
if (((
RawMouseActions
.AttributesChanged |
RawMouseActions
.Activate |
RawMouseActions
.Deactivate |
120
RawMouseActions
.RelativeMove |
RawMouseActions
.AbsoluteMove |
RawMouseActions
.VirtualDesktopMove |
121
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release |
122
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release |
123
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release |
124
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release |
125
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release |
126
RawMouseActions
.VerticalWheelRotate |
RawMouseActions
.HorizontalWheelRotate |
127
RawMouseActions
.CancelCapture |
128
RawMouseActions
.QueryCursor) & actions) == actions)
130
if (!(((
RawMouseActions
.Deactivate & actions) == actions &&
RawMouseActions
.Deactivate != actions ) ||
131
(((
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release) & actions) == (
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release)) ||
132
(((
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release) & actions) == (
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release)) ||
133
(((
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release) & actions) == (
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release)) ||
134
(((
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release) & actions) == (
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release)) ||
135
(((
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release) & actions) == (
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release))))
143
private
RawMouseActions
_actions;
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (31)
216
RawMouseActions
.AbsoluteMove,
512
RawMouseActions
.AbsoluteMove,
541
RawMouseActions
.VerticalWheelRotate,
566
RawMouseActions
.Button1Press,
585
RawMouseActions
.Button1Release,
603
RawMouseActions
.Button2Press,
620
RawMouseActions
.Button2Release,
638
RawMouseActions
.Button3Press,
655
RawMouseActions
.Button3Release,
669
RawMouseActions
actions = 0;
672
actions =
RawMouseActions
.Button4Press;
676
actions =
RawMouseActions
.Button5Press;
697
RawMouseActions
actions = 0;
700
actions =
RawMouseActions
.Button4Release;
704
actions =
RawMouseActions
.Button5Release;
807
RawMouseActions
.CancelCapture,
1054
RawMouseActions
.Deactivate,
1178
RawMouseActions
actions,
1199
actions =
RawMouseActions
.Deactivate;
1207
if((actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
1214
else if((actions &
RawMouseActions
.CancelCapture) ==
RawMouseActions
.CancelCapture)
1218
else if(!_active && (actions &
RawMouseActions
.VerticalWheelRotate) ==
RawMouseActions
.VerticalWheelRotate)
1287
actions |=
RawMouseActions
.Activate;
1304
if((actions &
RawMouseActions
.AbsoluteMove) == 0)
1308
actions |=
RawMouseActions
.AbsoluteMove;
1319
if ((actions &
RawMouseActions
.AbsoluteMove) != 0)
1338
if((actions & (
RawMouseActions
.AbsoluteMove |
RawMouseActions
.Activate)) != 0)