Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

emscripten support #48

Open
RicoP opened this issue Nov 14, 2017 · 1 comment
Open

emscripten support #48

RicoP opened this issue Nov 14, 2017 · 1 comment

Comments

@RicoP
Copy link

RicoP commented Nov 14, 2017

hi there.

Are there any plans to support emscripten? Meaning being able to compile a gainput app with the emcc compiler and have proper keyboard, mouse and gamepad support.

@RicoP
Copy link
Author

RicoP commented Nov 14, 2017

Luckely mouse and keyboard bindings should be quite tribvial to implement, because emscripten already gives us propper callbacks: https://github.com/bkaradzic/bgfx/blob/5df496952726d0c7ecb91ed1b1976f31eba03d7d/examples/common/entry/entry_asmjs.cpp#L91

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant