2 writes to _currentStylusDevice
PresentationCore (2)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
78
_currentStylusDevice
= null; // no active stylus device any more.
3077
_currentStylusDevice
= wispStylusDevice;
19 references to _currentStylusDevice
PresentationCore (19)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (19)
542
_currentStylusDevice
.ChangeStylusOver(null);
597
activateStylusDevice =
_currentStylusDevice
;
677
if (!
_currentStylusDevice
.SentMouseDown && fromWisptis && ShouldPromoteToMouse(
_currentStylusDevice
))
683
WispStylusTouchDevice touchDevice =
_currentStylusDevice
.TouchDevice;
690
_currentStylusDevice
.PlayBackCachedDownInputReport(mouseInputReport.Timestamp);
734
_currentStylusDevice
.SetSawMouseButton1Down(true);
2139
if (stylusDevice ==
_currentStylusDevice
&& newOver != _stylusOver)
2769
bool isFingerTouch = IsTouchStylusDevice(
_currentStylusDevice
);
2778
bool isFingerTouch = IsTouchStylusDevice(
_currentStylusDevice
);
2998
return
_currentStylusDevice
;
3061
bool stylusDeviceChange = (
_currentStylusDevice
!= wispStylusDevice);
3062
WispStylusDevice oldStylusDevice =
_currentStylusDevice
;
3074
_currentStylusDevice
.ChangeStylusOver(newOver); // This should be null.
3536
if (!disabled &&
_currentStylusDevice
!= null)
3539
if (
_currentStylusDevice
.InAir || !
_currentStylusDevice
.GestureWasFired)
3546
_mouseLeftButtonState =
_currentStylusDevice
.LeftIsActiveMouseButton ? MouseButtonState.Pressed : MouseButtonState.Released;
3547
_mouseRightButtonState = !
_currentStylusDevice
.LeftIsActiveMouseButton ? MouseButtonState.Pressed : MouseButtonState.Released;