View Single Post
Old 05-26-2015, 07:38 PM   #7
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
nickel grabs the /dev/input/event0 exclusively by default so events can't be read from the outside. (event0 is the "keyboard" that includes power button and magnet sensor keys). It's possible to patch nickel to drop the exclusive access though (change grab=1 to grab=0 - lucky this isn't hardcoded). At that point an external process can read the magnet event and effect a page flip by sending a touch event.

So the pieces are all there, not sure if/when I'll get around to make a useable remote control mod out of it.
frostschutz is offline   Reply With Quote