mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 05:55:27 +00:00
a707ef91a5
Fully implemented keyboard on X11. Renamed some OpenTK keys.
25 lines
553 B
C#
25 lines
553 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
|
|
namespace OpenTK.Platform
|
|
{
|
|
interface IGameWindow : INativeGLWindow
|
|
{
|
|
void Run();
|
|
|
|
void OnRenderFrame();
|
|
void OnUpdateFrame();
|
|
|
|
event UpdateFrameEvent UpdateFrame;
|
|
event RenderFrameEvent RenderFrame;
|
|
|
|
bool IsExiting { get; }
|
|
IList<OpenTK.Input.Keyboard> Keyboard { get; }
|
|
}
|
|
|
|
public delegate void UpdateFrameEvent(EventArgs e);
|
|
public delegate void RenderFrameEvent(EventArgs e);
|
|
}
|