View Single Post
Old 05-31-2024, 06:05 PM   #498
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by ext23 View Post
...but with Lineage, the functionality of the e-ink button on the device has changed again (single press to refresh screen, double press to bring up the screen refresh settings overlay).

I'd still like the button to function as single press for play/pause, and double press to skip track. Is this possible!?!
AFAIK nope, sorry.

The code that forwards media events to the system lies in https://github.com/koreader/koreader....lua#L173-L208, so it is never received on the frontend.

We can only remap key events that we receive. That could be the case with your buttons on LineageOS, but you'll need to write your custom stuff somewhere to fake a media key event on response to those codes (if that's even possible, I guess so). So, yep, better handled elsewhere
pazos is offline   Reply With Quote