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);
588
activateStylusDevice =
_currentStylusDevice
;
668
if (!
_currentStylusDevice
.SentMouseDown && fromWisptis && ShouldPromoteToMouse(
_currentStylusDevice
))
674
WispStylusTouchDevice touchDevice =
_currentStylusDevice
.TouchDevice;
681
_currentStylusDevice
.PlayBackCachedDownInputReport(mouseInputReport.Timestamp);
725
_currentStylusDevice
.SetSawMouseButton1Down(true);
2130
if (stylusDevice ==
_currentStylusDevice
&& newOver != _stylusOver)
2760
bool isFingerTouch = IsTouchStylusDevice(
_currentStylusDevice
);
2769
bool isFingerTouch = IsTouchStylusDevice(
_currentStylusDevice
);
2989
return
_currentStylusDevice
;
3052
bool stylusDeviceChange = (
_currentStylusDevice
!= wispStylusDevice);
3053
WispStylusDevice oldStylusDevice =
_currentStylusDevice
;
3065
_currentStylusDevice
.ChangeStylusOver(newOver); // This should be null.
3527
if (!disabled &&
_currentStylusDevice
!= null)
3530
if (
_currentStylusDevice
.InAir || !
_currentStylusDevice
.GestureWasFired)
3537
_mouseLeftButtonState =
_currentStylusDevice
.LeftIsActiveMouseButton ? MouseButtonState.Pressed : MouseButtonState.Released;
3538
_mouseRightButtonState = !
_currentStylusDevice
.LeftIsActiveMouseButton ? MouseButtonState.Pressed : MouseButtonState.Released;