It is currently Thu Sep 09, 2010 7:38 am




Post new topic Reply to topic  [ 1 post ] 
send a keypress (or emulate keypress) 
Author Message

Joined: Wed Sep 23, 2009 5:56 pm
Posts: 9
Post send a keypress (or emulate keypress)
I need to keep the device alive while running my app; the only way i think of to achieve this is to emulate a keypress (i.e.: send a fake keypress to system) in onmainloop(). for example, i can send a keypress(48), so the system thinks i'm typing and doesn't suspend the device.

BUT i don't see a way to do this, since control functions are read only. There's another way i'm missing? (apart writing a dll, since i'm not able to di it)


Thu Jan 28, 2010 2:28 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.