3
\$\begingroup\$

Anybody wrote games for Android TV using LibGDX?

What is the mapping of the remote control?

Can we use the game controller with LibGDX?

Thanks!

\$\endgroup\$
1
\$\begingroup\$

Android TV remotes use the Dpad controls:

android.view.KeyEvent.KEYCODE_DPAD_UP

android.view.KeyEvent.KEYCODE_DPAD_CENTER

You can find the full list here: https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_DPAD_CENTER

\$\endgroup\$
  • \$\begingroup\$ Please extend your answer a little so people can get an idea without clicking the link you gave. \$\endgroup\$ – S. Tarık Çetin Jul 30 '16 at 17:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.