mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
refactor: replace references to Events with Input
This commit is contained in:
parent
4c48afbb90
commit
b202d1455b
15 changed files with 160 additions and 116 deletions
|
|
@ -10,11 +10,6 @@
|
|||
|
||||
inline constexpr short KEYS_BUFFER_SIZE = 1036;
|
||||
|
||||
enum class BindType {
|
||||
BIND = 0,
|
||||
REBIND = 1
|
||||
};
|
||||
|
||||
namespace Events {
|
||||
extern int scroll;
|
||||
extern glm::vec2 delta;
|
||||
|
|
@ -55,13 +50,5 @@ namespace Events {
|
|||
|
||||
void setPosition(float xpos, float ypos);
|
||||
|
||||
std::string writeBindings();
|
||||
void loadBindings(
|
||||
const std::string& filename,
|
||||
const std::string& source,
|
||||
BindType bindType
|
||||
);
|
||||
void enableBindings();
|
||||
|
||||
bool isCursorLocked();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue