diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-10-28 23:45:34 +0700 |
|---|---|---|
| committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-10-28 23:45:34 +0700 |
| commit | bd8985065f2377a62f0ee9f4236d5cd9ad99dfe4 (patch) | |
| tree | cee76279026bbba88fededfc9474c8eba67d5c2d /src/Support.cpp | |
| parent | 036ab1d1051b54e71f80fbb791bf69bd7c236f62 (diff) | |
| download | blackshades-bd8985065f2377a62f0ee9f4236d5cd9ad99dfe4.tar.gz | |
Reorganize key mappings
Diffstat (limited to 'src/Support.cpp')
| -rw-r--r-- | src/Support.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Support.cpp b/src/Support.cpp index 850d0bb..2f24e94 100644 --- a/src/Support.cpp +++ b/src/Support.cpp @@ -1,17 +1,8 @@ -#include <stdbool.h> #include <stdlib.h> -#include <GLFW/glfw3.h> - #include "Support.h" int Random() { return (rand() % 65535) - 32767; } - -bool IsKeyDown(int key) -{ - const auto window = glfwGetCurrentContext(); - return glfwGetKey(window, key) == GLFW_PRESS; -} |
