mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
fix utf8 input
This commit is contained in:
parent
d896d2debb
commit
ad5834b1e1
3 changed files with 15 additions and 15 deletions
|
|
@ -38,7 +38,7 @@ public:
|
|||
ObserverHandler addKeyCallback(Keycode key, KeyCallback callback) override;
|
||||
|
||||
const std::vector<Keycode>& getPressedKeys() const override;
|
||||
const std::vector<char>& getCodepoints() const override;
|
||||
const std::vector<std::uint32_t>& getCodepoints() const override;
|
||||
private:
|
||||
glm::vec2 delta;
|
||||
glm::vec2 cursor;
|
||||
|
|
@ -49,7 +49,7 @@ private:
|
|||
bool cursorLocked = false;
|
||||
bool cursorDrag = false;
|
||||
Bindings bindings;
|
||||
std::vector<char> codepoints;
|
||||
std::vector<std::uint32_t> codepoints;
|
||||
std::vector<Keycode> pressedKeys;
|
||||
std::unordered_map<Keycode, util::HandlersList<>> keyCallbacks;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue