Reimplement key input events in Emscripten export
Scancodes work, but unicode values are now completely broken in some browser/OS combinations.
This commit is contained in:
parent
925aa086a2
commit
0e9eefb7d4
4 changed files with 435 additions and 121 deletions
|
|
@ -56,9 +56,6 @@ public:
|
|||
Point2 pos;
|
||||
};
|
||||
|
||||
bool skey_pressed[121];
|
||||
bool key_pressed[256];
|
||||
|
||||
private:
|
||||
|
||||
Vector<TouchPos> touch;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue