issues
search
floooh
/
sokol
minimal cross-platform standalone C headers
https://floooh.github.io/sokol-html5
zlib License
6.93k
stars
487
forks
source link
sokol_app.h emsc: more control over input event consumption
#939
Closed
floooh
closed
9 months ago
floooh
commented
10 months ago
Only on the Emscripten platform:
mouse and touch events are now by default passed up to the web page and can be consumed by calling sapp_consume_event() from within the event handler
wheel events are still always consumed (passing them up tries to scroll the webpage which looks bad even with a 100% canvas)
no change (yet) for keyboard event behaviour, but probably a good opportunity to tackle
https://github.com/floooh/sokol/issues/824
)
Only on the Emscripten platform: