How to support Android remote control’s dpad center and arrow keys?

I want use Android TV‘s remote control to play my game. Does cocos2dx v3 support Android remote control and the center and arrow keys on it? I found only back and menu key value for Android. Other Android keys, such as center and arrow, can be supported? Or if I want to add support for android dpad_center and dpad_left/right/up/down keys, what should I do? Can anybody can give some prompting or direction?

1 Like

I have the same challenge. How do I catch events from controllers such as the Fire TV remote?

Specifically for Amazon Fire TV, i found an quora article (https://www.quora.com/How-do-I-start-developing-for-Amazon-Fire-TV)

and QUOTE:

If you are proficient using Unity, Cocos2d-x, GameMaker, or one of the many other systems popular among mobile app developers, you will find it straightforward to package your game for Fire TV. If you can produce an .APK file, you can probably install it on Fire TV.