Fix some mouse bugs in WebAssembly/asm.js

- Emit mouse wheel release events
 - Set button masks, fixes #5092
This commit is contained in:
eska 2016-11-23 23:53:38 +01:00
parent 6d86a63648
commit 49e22aa83f
3 changed files with 17 additions and 5 deletions

View file

@ -58,6 +58,7 @@ private:
Vector<TouchPos> touch;
Point2 last_mouse;
int last_button_mask;
unsigned int last_id;
GFXInitFunc gfx_init_func;
void*gfx_init_ud;