mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 21:25:41 +00:00
8f159aef72
Added all Raw Input structs, functions and enums in Windows.API. WinRawKeyboard implements IKeyboard using Raw Input on Windows.
25 lines
521 B
C#
25 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);
|
|
}
|