New MouseEvent() : is event automaticly added to event loop?


#1

I’d like my timerCallback() to generate mouseEvents, as if i was regularly clicking on my mouse button.

Is juce::MouseEvent() constructeur ensures to put this new event into the event loop ?

void timerCallback(){ e = new MouseEvent(...); }