Add NX Hid Driver Template

- Add WIP HidNX Driver (clangd not working with devkitpro for switch on windows)
- Add default-release as default search path for compile_commands.json
- remove mingw preset (casue its exactly the default target)
- Move Mouse pos cycle into HidDriver::Update
- Test around with HidGlfw on Nintendo switch
This commit is contained in:
2026-04-05 04:20:32 +02:00
parent 1f7d96a455
commit 8a4b3c119d
9 changed files with 73 additions and 77 deletions
-1
View File
@@ -78,7 +78,6 @@ void HidGlfw::Update() {
// }
double x, y;
glfwGetCursorPos(impl->Win, &x, &y);
pMouse[1] = pMouse[0]; // Cycle pMouse pos
pMouse[0] = fvec2(x, y);
}
} // namespace PD