summaryrefslogtreecommitdiffstats
path: root/game/client/keybind.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-29 22:24:42 +0500
committeruntodesu <kirill@untode.su>2025-06-29 22:24:42 +0500
commit6cd00aacfa22fed6a54a9b812f6b069ad16feec0 (patch)
treeb77f4e665da3dd235cdb01e7e6ea78c1c02ecf2e /game/client/keybind.hh
parentf440914e1ae453768d09383f332bc7844e0a700e (diff)
downloadvoxelius-6cd00aacfa22fed6a54a9b812f6b069ad16feec0.tar.bz2
voxelius-6cd00aacfa22fed6a54a9b812f6b069ad16feec0.zip
Move game sources into src subdirectory
Diffstat (limited to 'game/client/keybind.hh')
-rw-r--r--game/client/keybind.hh26
1 files changed, 0 insertions, 26 deletions
diff --git a/game/client/keybind.hh b/game/client/keybind.hh
deleted file mode 100644
index 8cf3c3c..0000000
--- a/game/client/keybind.hh
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef CLIENT_KEYBIND_HH
-#define CLIENT_KEYBIND_HH 1
-#pragma once
-
-#include "core/config.hh"
-
-class ConfigKeyBind final : public IConfigValue {
-public:
- explicit ConfigKeyBind(void);
- explicit ConfigKeyBind(int default_value);
- virtual ~ConfigKeyBind(void) = default;
-
- virtual void set(const char* value) override;
- virtual const char* get(void) const override;
-
- void set_key(int keycode);
- int get_key(void) const;
-
- bool equals(int keycode) const;
-
-private:
- const char* m_name;
- int m_glfw_keycode;
-};
-
-#endif /* CLIENT_KEYBIND_HH */