Add HidDriver base and small HidGLFW driver

This commit is contained in:
2026-09-06 16:16:37 +02:00
parent ee2914e93c
commit 0177f6358d
12 changed files with 448 additions and 124 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include <pd/drivers/hid.hpp>
typedef struct GLFWwindow GLFWwindow;
namespace PD {
class HidGlfw : public HidDriver {
public:
HidGlfw(GLFWwindow* window);
~HidGlfw();
void Update() override;
private:
struct Impl;
Impl* impl;
};
} // namespace PD