virresh / matvt

Virtual Mouse for Android TV that can be controlled via remote itself.
GNU General Public License v3.0
211 stars 35 forks source link

Android TV 9 #22

Closed cfercl closed 2 years ago

cfercl commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Yes, all things are enable and running. IMG_20210919_112222

droidget commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Thanks a lot @virresh and @sweenwolf https://github.com/sweenwolf but unfortunately it didn't work for me, none key was detected. I really want to use the mouse toggle but.. Thanks again for your help.

On Sun, Oct 10, 2021, 7:32 AM Viresh Gupta @.***> wrote:

Hi @cfercl https://github.com/cfercl and @droidget https://github.com/droidget @sweenwolf https://github.com/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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/virresh/matvt/issues/22#issuecomment-939474407, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUZSMMMUPIYX4ADYWKFC5FTUGGBW7ANCNFSM5D6LBHRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

karthikfiretv commented 2 years ago

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

virresh commented 2 years ago

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 commented 2 years ago

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