Skip to content

Instantly share code, notes, and snippets.

@eaglgenes101
Created January 19, 2017 23:05
Show Gist options
  • Save eaglgenes101/2bc3576cf9a8a82c15f0747a3af89aa6 to your computer and use it in GitHub Desktop.
Save eaglgenes101/2bc3576cf9a8a82c15f0747a3af89aa6 to your computer and use it in GitHub Desktop.
public LibgdxTussleMain(KeyboardController[] ctrl)
{
controllers = ctrl;
inputs = new InputMultiplexer();
for (KeyboardController g : ctrl)
{
inputs.addProcessor(g);
}
Gdx.input.setInputProcessor(inputs);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment