-
-
Notifications
You must be signed in to change notification settings - Fork 903
Description
Hi,
Thanks for Pyxel, I love it! I wanted to use a custom shader, so I replaced crisp.frag
and ran make build-wasm
. I got a new pyxel-2.5.7-cp38-abi3-emscripten_3_1_58_wasm32.whl
and when I use it with pyxel.js
it's using my shader and everything is working. Except the keyboard! I looked inside poll_events.rs
and the mouse move/click events are still received from SDL_PollEvent
but the keyboard events are not. If I use the official pyxel-2.5.7-cp38-abi3-emscripten_3_1_58_wasm32.whl
the keyboard works.
I've no idea what could be wrong. My build uses https://github.com/libsdl-org/SDL/archive/release-2.28.4.zip and Emscripten 3.1.58 which I think match the official build. Maturin is 1.9.4. I'm building on Ubuntu 24.04.3.
Any advice is appreciated! Thanks!