8f159aef72
Added all Raw Input structs, functions and enums in Windows.API. WinRawKeyboard implements IKeyboard using Raw Input on Windows.
24 lines
521 B
C#
24 lines
521 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
using OpenTK.Input;
|
|
|
|
namespace OpenTK.Platform
|
|
{
|
|
interface IGameWindow : IDisposable
|
|
{
|
|
void Run();
|
|
|
|
void RenderFrame();
|
|
void UpdateFrame();
|
|
|
|
event UpdateFrameEvent UpdateFrameNotify;
|
|
event RenderFrameEvent RenderFrameNotify;
|
|
|
|
IKeyboard Key { get; }
|
|
}
|
|
|
|
public delegate void UpdateFrameEvent(EventArgs e);
|
|
public delegate void RenderFrameEvent(EventArgs e);
|
|
}
|