mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 16:25:37 +00:00
4ceea208ac
WinRawInput now correctly subclasses WinGLNative or WinGLControl. WinRawKeyboard now correctly responds to events. Removed T10_GLSL_Cube.cs which was erroneously moved outside the Examples/Tutorial directory. Updated INativeWindow, IGameWindow and IGLControl interfaces. Updated examples to use the new GameWindow interface. Added documentation to GameWindow. Improved GameWindow error handling. More defensive programming.
17 lines
401 B
C#
17 lines
401 B
C#
#region --- License ---
|
|
/* Copyright (c) 2007 Stefanos Apostolopoulos
|
|
* See license.txt for license info
|
|
*/
|
|
#endregion
|
|
|
|
namespace OpenTK.Input
|
|
{
|
|
public interface IKeyboard : IInputDevice
|
|
{
|
|
bool this[Keys k] { get; }
|
|
int NumberOfKeys { get; }
|
|
int NumberOfFunctionKeys { get; }
|
|
int NumberOfLeds { get; }
|
|
long DeviceID { get; }
|
|
}
|
|
} |