FBA The Creator
http://www.fbacreator.com/fbaforum/

send a keypress (or emulate keypress)
http://www.fbacreator.com/fbaforum/viewtopic.php?f=5&t=232
Page 1 of 1

Author:  bbonzz [ Thu Jan 28, 2010 2:28 pm ]
Post subject:  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)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/