Open Bagunda opened 8 months ago
there is no long press function at the moment. But I can add it later. I am busy with family health issues this week. If all goes well, I can add it for you next week. Please remind me by the end of next week if I forget.
I remind you
I'm still dealing with family. But I'll have a look if I can find a quick solution for you. First of all , what is the keycode 82 for ? is it the menu button ? Do you want to long press menu button ? How long should it be ? (1 sec ? 2 ?) I will also try to add it globally so it can be adapted to any keycode.
yes 82. 2 sec
OK. I am now publishing version 2.6 to the store. Please try it when it is approved and released. The endpoint works like : /longpress=82 It should click and release after 2 seconds.
I downloaded and installed v2.6.
/up
- work, but /longpress=82
- does not work.
The loading circle has been spinning for more than 10 minutes. Tried changing the port and rebooting the TV many times
Android 6, Xiaomi MiTV 4a
Ok. I see the problem. I will fix it in the next release, probably tonight. Please wait for the next version.
Maybe by passing a parameter to transmit how long to hold the button? For example: /longpress=82&ms=2000 For the future
Does the current implementation work ? Are you happy with it ?
and I wrote : Ok. I see the problem. I will fix it in the next release, probably tonight. Please wait for the next version. Did you try the new version ? (2.7)
MiTV 4a does not have google-services. I download the application from this site: https://apkcombo.com/ru/keyboard-with-rest-api/com.aktuna.tv.keyboard/ There is v2.6.
And in google_play v2.6
well there are methods to install google services on any device with Android. And you have to install it from Google Play to benefit from new features. Version 2.7 is on store :
Страничка /longpress=82 открывается, но, к сожалению, экранное меню не появляется :( Все остальные функции продолжают нормально работать. Перезагружать - пробовал.
The page /longpress=82 opens, but, unfortunately, the on-screen menu does not appear :( All other functions continue to work normally. Tried rebooting. After reboot it doesn't work either.
I checked again.
This command
adb shell input keyevent --longpress 82
actually brings up the menu
But /longpress=82 does not call
Is there a long press function? The menu I need is called up by long pressing key code 82
adb shell input keyevent --longpress 82