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

Android TV 9 #22

Closed
cfercl opened this issue Sep 13, 2021 · 10 comments
Closed

Android TV 9 #22

cfercl opened this issue Sep 13, 2021 · 10 comments

Comments

@cfercl
Copy link

cfercl commented Sep 13, 2021

Dont work on licensed androidTV 9.
The laucher keys not working, tried with Back, Dpad L, Up, Right, Center. Etc. I used the keycodes detected by keyevent detector app.

@virresh
Copy link
Owner

virresh commented Sep 14, 2021

@cfercl
Sorry I don't understand what do you mean by a licensed androidTV9

You will need an actual remote in order for the mouse to work (and you can only use keycodes that are generated by the remote). Sending soft-events does not work because they bypass the accessibility system.

@cfercl
Copy link
Author

cfercl commented Sep 14, 2021

Thank you for your answer.
What I mean is I have a Smart TV with original Android TV v9, the TV is from a local but licensed brand with Android TV. I am using the original remote control (I.R and Bluetooth) but I tried with keycodes for Mute, Back and DPad arrows bottons but it doesn't work. I used an 3rd app to read the keycodes sent by the remote control and it shows normal keycodes for back and all dpad bottons, for example 4 for Back, I tested with all of them but dont work (I Changed the keycode because the default Mute botton was unable to be detected) so i believe they are some kind of problem or incompatibility with my android TV v9 O.S. when the keycode is changed in your app. :(
Sorry for my English.

There are my keycodes but not working for me.
IMG_20210917_093814

@virresh
Copy link
Owner

virresh commented Sep 19, 2021

I see.
Can you confirm if the mouse event services were activated on your device?
i.e are you able to see Accessibility Service: Running on matvt GUI ?

@cfercl
Copy link
Author

cfercl commented Sep 19, 2021

Yes, all things are enable and running.
IMG_20210919_112222

@droidget
Copy link

droidget commented Oct 6, 2021

Hi,
I have a similar issue, Iam on latest version as above but does not work on TCL android 9 TV. Which boss key will work? Thanks for the App. More thanks if you can make it work.

@virresh
Copy link
Owner

virresh commented Oct 10, 2021

Hi @cfercl and @droidget
@sweenwolf have introduced a boss key detection function which will automatically detect the bosskey based on the button pressed on remote.

I encourage you to try it out. I hope this will resolve your issues

Link to the new release - https://github.com/virresh/matvt/releases/tag/v1.0.6

@cfercl
Copy link
Author

cfercl commented Oct 10, 2021 via email

@karthikfiretv
Copy link

same here it doesn't work on the latest released updated of google tv, am in UK

@virresh
Copy link
Owner

virresh commented Oct 30, 2021

Thanks @karthikfiretv for reporting.
Unfortunately I'm not able to reproduce this with the Google TV emulator image released publically.

It's possible that the actual hardware TV has some features removed.
Can someone please post ADB/Android Studio logs?

Would be helpful if I can know what is going wrong.

@virresh
Copy link
Owner

virresh commented Jun 18, 2022

Closing this as it needs more information and it's been quite a while now.

@virresh virresh closed this as completed Jun 18, 2022
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

4 participants