blob: 538829f6cd3689376ef10444d10010da6bb5a2c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <GLFW/glfw3.h>
class KeyWatcher {
private:
GLFWwindow* const _handle;
int _key;
int _last_state;
public:
KeyWatcher(GLFWwindow* handle, int key);
bool wasClicked();
};
|