View Single Post
Old 10-30-2009, 07:38 AM   #75
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by ericshliao View Post
That's why I want to install lua and lgob on my desktop.
BTW, can we control LED and access iLiad buttons in Lua script?
There is no an easy way, because they are handled by ioctl calls in C code.
Look at my "system information" app sources, specifically look for how battery information is gathered.

Well, now that hansel has writteng bindings for ioctl for lua it should be easier anyway.

In my (wet ;-) dreams, we should have a lua module for all this stuff...

Iņigo
Iņigo is offline   Reply With Quote