public RawTouchEventArgs(IInputDevice device, ulong timestamp, IInputRoot root, RawPointerEventType type, RawPointerPoint point, RawInputModifiers inputModifiers, long rawPointerId) : base(device, timestamp, root, type, point, inputModifiers) { RawPointerId = rawPointerId; }
/// <summary> /// Initializes a new instance of the <see cref="RawPointerEventArgs"/> class. /// </summary> /// <param name="device">The associated device.</param> /// <param name="timestamp">The event timestamp.</param> /// <param name="root">The root from which the event originates.</param> /// <param name="type">The type of the event.</param> /// <param name="point">The point properties and position, in client DIPs.</param> /// <param name="inputModifiers">The input modifiers.</param> public RawPointerEventArgs( IInputDevice device, ulong timestamp, IInputRoot root, RawPointerEventType type, RawPointerPoint point, RawInputModifiers inputModifiers) : base(device, timestamp, root) { Contract.Requires <ArgumentNullException>(device != null); Contract.Requires <ArgumentNullException>(root != null); Point = point; Type = type; InputModifiers = inputModifiers; }
internal PointerPointProperties(PointerPointProperties basedOn, RawPointerPoint rawPoint) { IsLeftButtonPressed = basedOn.IsLeftButtonPressed; IsMiddleButtonPressed = basedOn.IsMiddleButtonPressed; IsRightButtonPressed = basedOn.IsRightButtonPressed; IsXButton1Pressed = basedOn.IsXButton1Pressed; IsXButton2Pressed = basedOn.IsXButton2Pressed; IsInverted = basedOn.IsInverted; IsEraser = basedOn.IsEraser; IsBarrelButtonPressed = basedOn.IsBarrelButtonPressed; Twist = rawPoint.Twist; Pressure = rawPoint.Pressure; XTilt = rawPoint.XTilt; YTilt = rawPoint.YTilt; }