Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by ansimuz

I am trying to implement this library to my game:

https://github.com/kallaspriit/HTML5-JavaScript-Gamepad-Controller-Library

Any ideas cause i am lost. How do i bind event coming from the gamepad and not from the keboard.

Help

1 decade ago by ansimuz

It would be a pretty good addition to implement gamepad input binds to the engine.

1 decade ago by Joncom

There is a post in this thread where someone provides information on how they got the gamepad working in their game. Maybe it can help...

1 decade ago by ansimuz

Thanks, however tried and some issues implementing it, and its messy.

i hope impact supports game api support pretty soon or someone developes a proper gameapi plugin that maps the keyboard bind.

1 decade ago by stillen

I looked at this before, and gamepad support seems to vary by web browser a lot and there also seems to be some latency issues as well.

I did some testing with it outside of impact, and unless you touch the gamepad before you try to bind anything to it, it wouldn't bind.

I have the same issue with my touchscreen on my laptop, I have to touch the screen then reload the page so touch events fire in my impact game.
Page 1 of 1
« first « previous next › last »