A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
981 B

// -----------------------------------------------------------------------
// <copyright file="GtkKeyboardDevice.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Gtk
{
using Perspex.Input;
public class GtkKeyboardDevice : KeyboardDevice
{
private static GtkKeyboardDevice instance;
static GtkKeyboardDevice()
{
instance = new GtkKeyboardDevice();
}
private GtkKeyboardDevice()
{
}
public static GtkKeyboardDevice Instance
{
get { return instance; }
}
public override ModifierKeys Modifiers
{
get { throw new System.NotImplementedException(); }
}
public static Perspex.Input.Key ConvertKey(Gdk.Key key)
{
return Key.X;
}
}
}