private static TapOnce ( IInputManager inputManager, TouchDevice device, IInputRoot root, ulong timestamp, long touchPointId ) : void | ||
inputManager | IInputManager | |
device | TouchDevice | |
root | IInputRoot | |
timestamp | ulong | |
touchPointId | long | |
Результат | void |
private static void TapOnce(IInputManager inputManager, TouchDevice device, IInputRoot root, ulong timestamp = 0, long touchPointId = 0)
{
inputManager.ProcessInput(new RawPointerEventArgs(device, timestamp,
root,
RawPointerEventType.TouchBegin,
new Point(0, 0),
RawInputModifiers.None)
{
RawPointerId = touchPointId
});
inputManager.ProcessInput(new RawPointerEventArgs(device, timestamp,
root,
RawPointerEventType.TouchEnd,
new Point(0, 0),
RawInputModifiers.None)
{
RawPointerId = touchPointId
});
}
}