Thread | developer.brewmp.com Thread | developer.brewmp.com

Developer

Thread

Forums:

Is it possible to send key events to an active applet from the suspended applet continuously.

or

Give me some idea about how to impliment an app which continuously sends "key evets" to an active app (say a game) which is not under my control(means I don't know its implimentation).

thanks.

Background or hidden or suspended app cann't get any key events. Possibly you can create a background app which will send random keyevent via ISHELL_Post event. Possibly it may work.
ruben

Background or hidden or suspended app cann't get any key events. Possibly you can create a background app which will send random keyevent via ISHELL_Post event. Possibly it may work.
ruben

My aim is to send only "EVT_KEY" events to the game from the background app.
after
ISHELL_PostEvent(...,...,EVT_KEY,AVK_SELECT,0);
I can't post another event (say EVT_KEY, AVK_RIGHT etc) .It returns "FALSE".
So , I have to post one event at a time. And In background process 'A" ,I use
ISHELL_PostEvent(... , ... , EVT_KEY,AVK_SELECT,0);
ISHELL_StartApplet(.. , game);
After this control will be transfered to 'game' & event is caught.
Now since I do not know about its implementation or do not have control over the game , how to come back to the background process to send the next event.
(Something like what grinder does)

My aim is to send only "EVT_KEY" events to the game from the background app.
after
ISHELL_PostEvent(...,...,EVT_KEY,AVK_SELECT,0);
I can't post another event (say EVT_KEY, AVK_RIGHT etc) .It returns "FALSE".
So , I have to post one event at a time. And In background process 'A" ,I use
ISHELL_PostEvent(... , ... , EVT_KEY,AVK_SELECT,0);
ISHELL_StartApplet(.. , game);
After this control will be transfered to 'game' & event is caught.
Now since I do not know about its implementation or do not have control over the game , how to come back to the background process to send the next event.
(Something like what grinder does)

Background app can send ISHELL_PostEventEX to send multiple events of same type. Background app will keep running, it does not depend on foreground app.

Background app can send ISHELL_PostEventEX to send multiple events of same type. Background app will keep running, it does not depend on foreground app.

But sending "EVT_KEY" is supported only in BREW1.1 and
it doesn't support " ISHELL_PostEventEx".

But sending "EVT_KEY" is supported only in BREW1.1 and
it doesn't support " ISHELL_PostEventEx".

If your question is related to BREW 1.1 then why are posting your question in BREW 3.0 forum

If your question is related to BREW 1.1 then why are posting your question in BREW 3.0 forum

Is your question with respect to BREW v1.1 or BREW v3.0?
In any case, it is not possible for an application to send Key events to itself or other applications.

Is your question with respect to BREW v1.1 or BREW v3.0?
In any case, it is not possible for an application to send Key events to itself or other applications.