public MouseDevice(Panel p, ActionMapper mapper, IEventDispatcher dispatcher) { myMapper = mapper; p.MouseClick += new System.Windows.Forms.MouseEventHandler(this.onMouseClick); p.MouseMove += new System.Windows.Forms.MouseEventHandler(this.onMouseMove); myCursor = new Cursor(dispatcher, p.Size); }
public WiimoteDevice(Panel p, ActionMapper mapper) { myMapper = mapper; }
public void setEventDispatcher(IEventDispatcher argDispatcher) { dispatcher = argDispatcher; mapper = new ActionMapper(dispatcher); }
public InputManager() { device = null; dispatcher = null; mapper = null; }