mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 17:55:39 +00:00
56 lines
1.1 KiB
C#
56 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Text;
|
|
|
|
namespace OpenTK.Platform.MacOS
|
|
{
|
|
using Input;
|
|
|
|
class CarbonInput : IInputDriver
|
|
{
|
|
List<KeyboardDevice> dummy_keyboard_list = new List<KeyboardDevice>(1);
|
|
List<MouseDevice> dummy_mice_list = new List<MouseDevice>(1);
|
|
|
|
internal CarbonInput()
|
|
{
|
|
dummy_mice_list.Add(new MouseDevice());
|
|
dummy_keyboard_list.Add(new KeyboardDevice());
|
|
|
|
}
|
|
#region IInputDriver Members
|
|
|
|
public void Poll()
|
|
{
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region IKeyboardDriver Members
|
|
|
|
public IList<KeyboardDevice> Keyboard
|
|
{
|
|
get { return dummy_keyboard_list; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region IMouseDriver Members
|
|
|
|
public IList<MouseDevice> Mouse
|
|
{
|
|
get { return dummy_mice_list; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region IDisposable Members
|
|
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|