public override void InjectMouseInput(RIMNativeMethods.MouseInput mouseInput) { var injectedInputMouseInfo = new InjectedInputMouseInfo(); injectedInputMouseInfo.DeltaX = mouseInput.dx; injectedInputMouseInfo.DeltaY = mouseInput.dy; injectedInputMouseInfo.MouseData = mouseInput.mouseData; injectedInputMouseInfo.MouseOptions = (InjectedInputMouseOptions)(int)mouseInput.flags; injectedInputMouseInfo.TimeOffsetInMilliseconds = mouseInput.time; var injectedInputMouseInfoList = new List <InjectedInputMouseInfo>(); injectedInputMouseInfoList.Add(item: injectedInputMouseInfo); this.injector.InjectMouseInput(input: injectedInputMouseInfoList); }
public virtual void InjectMouseInput(RIMNativeMethods.MouseInput mouseInput) { throw new NotImplementedException(message: "InjectMouseInput is not implemented in this InputDevice object"); }