using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace OpenTK.Platform.MacOS { using Input; class CarbonInput : IInputDriver { 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; } } public KeyboardState GetState() { throw new NotImplementedException(); } public KeyboardState GetState(int index) { throw new NotImplementedException(); } #endregion #region IMouseDriver Members public IList Mouse { get { return dummy_mice_list; } } MouseState IMouseDriver.GetState() { throw new NotImplementedException(); } MouseState IMouseDriver.GetState(int index) { throw new NotImplementedException(); } #endregion #region IJoystickDriver Members public IList Joysticks { get { return dummy_joystick_list; } } #endregion #region IDisposable Members public void Dispose() { } #endregion } }