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

User interface compatibility with android tv /remote #124

Open
Japetusgr opened this issue Sep 6, 2016 · 10 comments
Open

User interface compatibility with android tv /remote #124

Japetusgr opened this issue Sep 6, 2016 · 10 comments
Milestone

Comments

@Japetusgr
Copy link

Running the emulator on an android tv box makes the use of a mouse a necessity.
Would be nice to be able to use just the remote control to access options/menus/loading games.

@bog-dan-ro
Copy link
Owner

The remote works just fine for me, what kind of tv box do you have?
The ui should be fully controllable using a remote and/or a gamepad. Of course to play games you'll need to use a gamepad.

@Japetusgr
Copy link
Author

Hi, as I just tested it, it is the 'menu' button that doesn't work. If I press 'options' with mouse, afterwards I can navigate the menu with the remote. I am using a 'Kii pro' box.

Sent from TypeApp

On Sep 6, 2016, 15:08, at 15:08, BogDan Vatra [email protected] wrote:

The remote works just fine for me, what kind of tv box do you have?
The ui should be fully controllable using a remote and/or a gamepad. Of
course to play games you'll need to use a gamepad.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#124 (comment)

@Japetusgr
Copy link
Author

Also, once inside a menu, you cannot select an option or toggle selection and close the menu just by pressing the OK button.

@bog-dan-ro bog-dan-ro added this to the 3.0 milestone Sep 7, 2016
@bog-dan-ro
Copy link
Owner

Hmm it seems the remote control doesn't map correctly the android keys.
I'll need your help to run a key logger to know the key codes of your remote, please use https://play.google.com/store/apps/details?id=aws.apps.keyeventdisplay (or anything similar) and press the following keys on your remote:

  • menu
  • back (or exit)
  • up
  • down
  • left
  • right

then add here the results.

@Japetusgr
Copy link
Author

Menu: code=82 scancode=125
Back 4 1
U 19 103
D 20 108
L 21 105
R 22 106

@bog-dan-ro
Copy link
Owner

Thanks, I added the menu key, please download this https://drive.google.com/file/d/0Bzzpb2GB8vXiY1E4RDdnQWpMa00/view?usp=sharing test apk and check if it works.

@Japetusgr
Copy link
Author

Thanks for the fix, it works now.
There is however still limited functionality in navigating menus and trying to make selections. There is not for instance a way to select or deselect a tick under eg. Options>general. Pressing OK does nothing. Also in order to close a menu you have to press back on the remote, there is no way you can press the back button on screen.
Anyways, thanks again very much for your prompt responds!

@bog-dan-ro
Copy link
Owner

I need the key code for ok button

@Japetusgr
Copy link
Author

23 97

@bog-dan-ro
Copy link
Owner

Thanks, it will take a while until I'll find a workaround.

@bog-dan-ro bog-dan-ro modified the milestones: 4.0, 3.0 Dec 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants