using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace OpenTK.Platform.MacOS { using Input; class CarbonInput : IInputDriver, IInputDriver2 { List dummy_keyboard_list = new List(1); List dummy_mice_list = new List(1); List dummy_joystick_list = new List(1); internal CarbonInput() { dummy_mice_list.Add(new MouseDevice()); dummy_keyboard_list.Add(new KeyboardDevice()); dummy_joystick_list.Add(new JoystickDevice(0, 0, 0)); } #region IInputDriver Members public void Poll() { } #endregion #region IKeyboardDriver Members public IList Keyboard { get { return dummy_keyboard_list; } } #endregion #region IMouseDriver Members public IList Mouse { get { return dummy_mice_list; } } #endregion #region IJoystickDriver Members public IList Joysticks { get { return dummy_joystick_list; } } #endregion #region IDisposable Members public void Dispose() { } #endregion public IMouseDriver2 MouseDriver { get { throw new NotImplementedException(); } } public IKeyboardDriver2 KeyboardDriver { get { throw new NotImplementedException(); } } public IGamePadDriver GamePadDriver { get { throw new NotImplementedException(); } } } }