55 references to InputSource
PresentationCore (55)
System\Windows\Input\KeyboardDevice.cs (5)
732_activeSource = new SecurityCriticalDataClass<PresentationSource>(keyboardInput.InputSource); 734else if(_activeSource.Value != keyboardInput.InputSource) 739_activeSource = new SecurityCriticalDataClass<PresentationSource>(keyboardInput.InputSource); 956KeyEventArgs previewKeyDown = new KeyEventArgs(this, keyboardInput.InputSource, keyboardInput.Timestamp, key); 975KeyEventArgs previewKeyUp = new KeyEventArgs(this, keyboardInput.InputSource, keyboardInput.Timestamp, key);
System\Windows\Input\MouseDevice.cs (13)
1207rawMouseInputReport.InputSource, 1221else if ((_inputSource != null) && (rawMouseInputReport.InputSource == _inputSource.Value)) 1291rawMouseInputReport.InputSource, 1304rawMouseInputReport.InputSource, 1322Point ptRoot = PointUtil.TryClientToRoot(ptClient, rawMouseInputReport.InputSource, false, out success); 1388rawMouseInputReport.InputSource, 1448_inputSource = new SecurityCriticalDataClass<PresentationSource>(rawMouseInputReport.InputSource); 1451else if (_inputSource.Value != rawMouseInputReport.InputSource) 1456_inputSource = new SecurityCriticalDataClass<PresentationSource>(rawMouseInputReport.InputSource); 1466if ((_inputSource != null) && (rawMouseInputReport.InputSource == _inputSource.Value)) 1499Point ptRelativeToOver = InputElement.TranslatePoint(ptRoot, rawMouseInputReport.InputSource.RootVisual, (DependencyObject)_mouseOver, out mouseOverAvailable); 1681ptRelativeToOver = InputElement.TranslatePoint(ptRoot, rawMouseInputReport.InputSource.RootVisual, (DependencyObject)mouseOver); 1914if ((_inputSource != null) && (rawMouseInputReport.InputSource == _inputSource.Value))
System\Windows\Input\Stylus\Common\RawStylusInput.cs (1)
82group.Children.Add(new MatrixTransform(_report.InputSource.CompositionTarget.TransformFromDevice));
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (2)
276rawMouseInputReport.InputSource, 1344rawStylusInputReport.InputSource,
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
178ptTablet *= inputReport.InputSource.CompositionTarget.TransformFromDevice; // change to measured units now.
System\Windows\Input\Stylus\Wisp\PenContexts.cs (2)
442transformTabletToView.Children.Add(new MatrixTransform(_stylusLogic.GetTabletToViewTransform(inputReport.InputSource, stylusDevice.TabletDevice))); // this gives matrix in measured units (not device) 461transformTabletToView.Children.Add(new MatrixTransform(_stylusLogic.GetTabletToViewTransform(inputReport.InputSource, stylusDevice.TabletDevice))); // this gives matrix in measured units (not device)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (21)
220coalescedMove.InputSource, 446if (_deferredMouseMove != null && _deferredMouseMove.InputSource != null && 447_deferredMouseMove.InputSource.CompositionTarget != null && 448!_deferredMouseMove.InputSource.CompositionTarget.IsDisposed) 520PenContexts penContexts = GetPenContextsFromHwnd(mouseInputReport.InputSource); 538if (mouseDevice.CriticalActiveSource == mouseInputReport.InputSource) 570mouseInputReport.InputSource, 606if (mouseInputReport.InputSource != _inputManager.Value.PrimaryMouseDevice.CriticalActiveSource) 611pt = PointUtil.ScreenToClient(pt, mouseInputReport.InputSource); 616mouseInputReport.InputSource, 647HwndSource hwndSource = mouseInputReport.InputSource as HwndSource; 710if (!stylusIsDown && Mouse.Captured != null && !InWindowClientRect(ptMouse, mouseInputReport.InputSource)) 891if (stylusInputReport.InputSource != null && stylusInputReport.PenContext != null) 1285mouseDeactivateInputReport.InputSource, 2504allowEvent = !stylusDevice.InRange && !rawStylusInputReport.InputSource.IsDisposed; 2508if (!stylusDevice.InRange && !rawStylusInputReport.InputSource.IsDisposed) 2575rawStylusInputReport.InputSource, 2692transformTabletToView.Children.Add(new MatrixTransform(GetTabletToViewTransform(rawStylusInputReport.InputSource, stylusDevice.TabletDevice))); // this gives matrix in measured units (not device) 2711transformTabletToView.Children.Add(new MatrixTransform(GetTabletToViewTransform(rawStylusInputReport.InputSource, stylusDevice.TabletDevice))); // this gives matrix in measured units (not device) 2799rawStylusInputReport.InputSource, 3254HwndSource hwndSource = mouseInputReport.InputSource as HwndSource;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (10)
1383GetTabletToElementTransform(report.InputSource, null), 1436GetTabletToElementTransform(report.InputSource, null), 1439PresentationSource inputSource = DetermineValidSource(report.InputSource, _eventStylusPoints, report.PenContext.Contexts); 1442if (inputSource != null && inputSource != report.InputSource) 1446Point oldWindowLocation = _stylusLogic.MeasureUnitsFromDeviceUnits(report.InputSource, report.PenContext.Contexts.DestroyedLocation); 1644if (report != null && report.InputSource != null && _eventStylusPoints != null && _eventStylusPoints.Count > 0) 1654GetTabletToElementTransform(report.InputSource, null), 1657PresentationSource inputSource = DetermineValidSource(report.InputSource, _eventStylusPoints, report.PenContext.Contexts); 1662if (inputSource != report.InputSource) 1666Point oldWindowLocation = _stylusLogic.MeasureUnitsFromDeviceUnits(report.InputSource, report.PenContext.Contexts.DestroyedLocation);