Add HidDriver base and small HidGLFW driver

This commit is contained in:
2026-09-06 16:06:14 +02:00
committed by tobid7
parent f7c2e7fa4f
commit 0ac1e08d54
12 changed files with 448 additions and 124 deletions
+1
View File
@@ -72,6 +72,7 @@ void DesktopOS::Init() {
}
#endif
glfwSwapInterval(1);
PD::Hid::UseDriver<HidGlfw>(impl->win);
}
void DesktopOS::Deinit() {
+1
View File
@@ -42,6 +42,7 @@ void HorizonCtr::Init() {
C3D_RenderTargetSetOutput(impl->Bottom, GFX_BOTTOM, GFX_LEFT,
DisplayTransferFlags);
PD::Gfx::UseDriver<PD::GfxCitro3D>();
PD::Hid::UseDriver<PD::HidDriver>();
}
void HorizonCtr::Deinit() {
+1
View File
@@ -29,6 +29,7 @@ void HorizonNX::Init() {
gladLoadGL();
glfwSwapInterval(1);
PD::Gfx::UseDriver<PD::GfxOpenGL3>();
PD::Hid::UseDriver<PD::HidDriver>();
}
void HorizonNX::Deinit() {