pygame-web / pygbag

python and pygame wasm for everyone ( packager + test server + simulator )
https://github.com/pygame-web
MIT License
338 stars 39 forks source link

connect mobiles sensor to simulator/browser in plyer #154

Closed pmp-p closed 9 months ago

pmp-p commented 9 months ago

add a facade to plyer when running on desktop simulator ( cpu!=wasm and platform==emscripten), use websocket to transfer sensors

pmp-p commented 9 months ago

WIP https://github.com/pygame-web/pkg-porting-wasm/issues/33