koreader / android-luajit-launcher

Android NativeActivity based launcher for LuaJIT, implementing the main loop within Lua land via FFI
MIT License
130 stars 83 forks source link

Help for some onyx lights #473

Closed hugleo closed 4 months ago

hugleo commented 5 months ago

Hello @cuong21951, @woznica1970, @ilyats

I see your devices didn't support lights, but as of today, there is a new e-ink test for KOReader available here:

https://build.koreader.rocks/download/nightly/v2024.03.1-21-g95ce974ef_2024-03-14/

Try the Onyx ADB driver and follow the ADB instructions to enable it if needed.

I have hardcoded the values:

BRIGHTNESS_MAX = 25 WARMTH_MAX = 24

You need to set these using the e-ink test and let me know if you can reach the system's maximum value on your devices. If your device value is different, please tell me so that instead of hardcoding the values I'll change the driver to get the values dynamically from the system ;-)

hugleo commented 4 months ago

done with https://github.com/koreader/android-luajit-launcher/pull/479