I CAN ADD CURSED CONTROLLER SUPPORT TO PTYPING LETS GO
I CAN ADD CURSED CONTROLLER SUPPORT TO PTYPING LETS GO
DoEvents on the 2nd thread_window here is the Silk.NET window

a あ
i い
yi い
u う
wu う
whu う
e え
o お
la ぁ
xa ぁ
li ぃ
xi ぃ
lyi ぃ
xyi ぃ
lu ぅ
xu ぅ
le ぇ
xe ぇ
lye ぇ
xye ぇ
lo ぉ
xo ぉ
ye いぇ
wha わ
whi うぃ
wi うぃ
whe うぇ
we うぇ
who うぉ
ka か
ca か
...DoEvents_windowNewThread({
while:
DoRender();
})
MainThread{
while:
DoUpdate();
DoEvents();
}Window window = new MainWindow("Title",800,600, "logo.png");
new Thread(() =>
{
window._initialize();
// Initiate win32 APIs
new WinFormNativeWindow(window);
while (true)
{
//if (IWindow.API.API == ContextAPI.OpenGL || IWindow.API.API == ContextAPI.OpenGLES)
{
try
{
window._window.MakeCurrent();
window._window.DoUpdate();
window._window.DoRender();
}
catch (GlfwException e)
{
Console.WriteLine($"GlfwException[handle: {window._window.Handle}]: {e.Message}");
//continue;
}
}
if (window._window.IsClosing)
break;
}
}).Start();
while (true)
{
if (window._window != null)
{
window._window.DoEvents();
if (window._window.IsClosing)
break;
}
}