2 writes to _currentStylusDevice
PresentationCore (2)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
69_currentStylusDevice = null; // no active stylus device any more. 3068_currentStylusDevice = wispStylusDevice;
19 references to _currentStylusDevice
PresentationCore (19)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (19)
533_currentStylusDevice.ChangeStylusOver(null); 588activateStylusDevice = _currentStylusDevice; 668if (!_currentStylusDevice.SentMouseDown && fromWisptis && ShouldPromoteToMouse(_currentStylusDevice)) 674WispStylusTouchDevice touchDevice = _currentStylusDevice.TouchDevice; 681_currentStylusDevice.PlayBackCachedDownInputReport(mouseInputReport.Timestamp); 725_currentStylusDevice.SetSawMouseButton1Down(true); 2130if (stylusDevice == _currentStylusDevice && newOver != _stylusOver) 2760bool isFingerTouch = IsTouchStylusDevice(_currentStylusDevice); 2769bool isFingerTouch = IsTouchStylusDevice(_currentStylusDevice); 2989return _currentStylusDevice; 3052bool stylusDeviceChange = (_currentStylusDevice != wispStylusDevice); 3053WispStylusDevice oldStylusDevice = _currentStylusDevice; 3065_currentStylusDevice.ChangeStylusOver(newOver); // This should be null. 3527if (!disabled && _currentStylusDevice != null) 3530if (_currentStylusDevice.InAir || !_currentStylusDevice.GestureWasFired) 3537_mouseLeftButtonState = _currentStylusDevice.LeftIsActiveMouseButton ? MouseButtonState.Pressed : MouseButtonState.Released; 3538_mouseRightButtonState = !_currentStylusDevice.LeftIsActiveMouseButton ? MouseButtonState.Pressed : MouseButtonState.Released;