View Single Post
Old 03-10-2019, 08:34 AM   #12
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,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by BloodRagg View Post

Also found that event2 is the g_sensor and can be used for screen rotation.
When I picked up my device and it started puking all kinds coordinates. xyz

But most important is to turn on /off the frontlight, i started looking through github but i could not find a /dev or /sys to write to. Any ideas on that ? I feel like a real dumbass here..

Aura HD doesn't have g_sensor AFAIK.

For turning on/off the frontlight: https://github.com/pazos/kobo-clock/...ight.c#L20-L26
pazos is offline   Reply With Quote