public MouseEventHandler(Mouse.Button button, List<InputEvent> futureEvents) : base(futureEvents) { m_button = button; }
public bool KeyUp(Mouse.Button button) { if (m_pressedMouseButtons.Contains(button)) { m_pressedMouseButtons.Remove(button); return true; } return false; }
public MouseKey( Mouse.Button b, bool f ) { button = b; fReleased = f; }
public bool KeyDown(Mouse.Button button, bool fCreateEvents) { if (!m_pressedMouseButtons.Contains(button)) { m_pressedMouseButtons.Add(button); if (fCreateEvents) { eventManager.FireKeyDownEvent(InputKey.Make(button)); } return true; } return false; }