//public void SimulateHiddenAction(ExtraMouseActions action, Point pos) //{ // m_bSimimulate = true; // ExtraMouse.SimateHiddenClick(action, pos); // m_bSimimulate = false; //} public void SimulateMouseAction(ExtraMouseBtns button, ExtraMouseActions action) { StartSimulation(); Debug.WriteLineIf(DEBUG, string.Format("Simulating button: {0}, action: {1}", button, action)); ExtraMouse.SimulateMouseAction(button, action, m_LParam); StopSimulation(); }
public void SimulateMouseAction(ExtraMouse mouse) { StartSimulation(); Debug.WriteLineIf(DEBUG, string.Format("Simulating button: {0}, action: {1} position: ({2},{3})", mouse.Button, mouse.Action, mouse.Position.X, mouse.Position.Y)); mouse.SimulateMouseAction(); StopSimulation(); }