matvt icon indicating copy to clipboard operation
matvt copied to clipboard

Refactoring Mouse Engine [enhances scrolling]

Open gjroots opened this issue 2 years ago • 5 comments

Hai @virresh ... about ..

1.ADB 2.scrolling

  1. some apps usese adb services to controll tv actions checkout these repo and try to implement may be it will work
    MuntashirAkon/libadb-android tytydraco/LADB // more preferable & easy it has advantage of local and remote connection

  2. some time some apps.... scrooll will treat as click action it clicks more times per sec on the app . some apps not scrolling

truefedex/tv-bro in this repo he implemented mouse cursor action in browser so that try to check out may help you for further development. scrolling is smoother & the cursor will change its colour accourding to the background colour like light & dark. may be it work for you and gives some idea..

enhancement: implement double click to scroll to easy shifting scroll to mouse some remots like larger is not easy all

just check out these repos and may get some idea .....

gjroots avatar Jun 06 '22 07:06 gjroots

Thanks for the adb lib references. The first one seems fine to use, the second one has a random binary in it's source code which I'm a bit reluctant to use as I don't have access to it's source.

Also thanks for the tv-bro reference! will help with re-designing of the source code. Renaming this issue as refactoring of mouse engine

virresh avatar Jun 18 '22 05:06 virresh

Hai..@virreh

I am ready to help ..

gjroots avatar Jun 19 '22 17:06 gjroots

Thanks @gjroots Extremely grateful for you volunteering

Would you be able to crosscheck what exactly TV Bros is doing in their system differently? I saw they're also using the gesture api, but I am not exactly sure how they've handled timers etc.

Also let me know if you're more interested in non tech portion of this issue. Testing builds is also a great way to help me since I don't have an Android TV at the moment.

virresh avatar Jun 19 '22 18:06 virresh

Exactly I don't know . I am also new . But sure I see

His main them is .

  1. Browser working for Android tv with tv remote
  2. Ad blocker
  3. He also designed key mapping function diff actions for diff buttons May you have Android phone search play store TVBRO app to may get some idea use landscape mode

I think he manipulate touching action with pointer but different manner

I record video ,if you want any visual intraction.

Abut testing .. send me builds I tested .

about scroll issue .. soon I send video what happens exactly

gjroots avatar Jun 20 '22 04:06 gjroots

hai .@virresh

Smart-AutoClicker

Check this repo it's concept is same as you uses accessibility . swiping has no clicking ,swipe smoothly Is also uses cast functionality . So may you can develop record screen functionality in feature

gjroots avatar Jun 27 '22 08:06 gjroots