Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support gdx-controllers extension #21

Closed
nicolaichuk opened this issue Feb 27, 2017 · 0 comments
Closed

Support gdx-controllers extension #21

nicolaichuk opened this issue Feb 27, 2017 · 0 comments

Comments

@nicolaichuk
Copy link
Contributor

nicolaichuk commented Feb 27, 2017

In this file

https://github.com/libgdx/libgdx/blob/master/extensions/gdx-controllers/gdx-controllers/src/com/badlogic/gdx/controllers/Controllers.java#L102

if (type == ApplicationType.WebGL) {
			className = "com.badlogic.gdx.controllers.gwt.GwtControllers";
}

and when i compile program with

-keep class com.badlogic.gdx.controllers.** { *; }

and open in browser. I see in js browser console:

....
ClassNotFoundException - com_badlogic_gdx_controllers_gwt_GwtControllers
....
ReflectionException - Class not found: com.badlogic.gdx.controllers.gwt.GwtControllers
....
GdxRuntimeException - Error creating controller manager: com.badlogic.gdx.controllers.gwt.GwtControllers
....

Be well if gdx-dragome-backend supported controllers api like gwt

https://github.com/libgdx/libgdx/tree/master/extensions/gdx-controllers/gdx-controllers-gwt

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

No branches or pull requests

2 participants