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