View Single Post
Old 11-10-2012, 11:47 AM   #30
choff
Member
choff walks where angels fear to fly.choff walks where angels fear to fly.choff walks where angels fear to fly.choff walks where angels fear to fly.choff walks where angels fear to fly.choff walks where angels fear to fly.choff walks where angels fear to fly.choff walks where angels fear to fly.choff walks where angels fear to fly.choff walks where angels fear to fly.choff walks where angels fear to fly.
 
Posts: 12
Karma: 152738
Join Date: Jul 2010
Device: Kindle DXG
Quote:
Originally Posted by pepijndevos View Post
I'll try to find out how to send things from C code. I think I remember reading this all works over dbus, but I might be wrong.
The best way is probably to invoke lipc-set-prop directly from your C code.

I have attached acode snippet to do this.

Hope this helps to get you started!

EDIT: I have now tested the code snippet and found a bug. Now it should compile & work just fine.

Regards,

Chris
Attached Files
File Type: bz2 main.c.bz2 (1.2 KB, 149 views)

Last edited by choff; 11-12-2012 at 02:24 PM.
choff is offline   Reply With Quote