← Back to team overview

sikuli-driver team mailing list archive

[Question #691935]: Are mouse and keyboard actions thread safe?

 

New question #691935 on Sikuli:
https://answers.launchpad.net/sikuli/+question/691935

Hi,
I want to use sikuli mouse and keyboard actions from many concurrent threads in java (using sikulixapi-2.0.4).

This: https://raiman.github.io/SikuliX1/javadocs/org/sikuli/script/Mouse.html leads me to believe at least mouse actions should be thread safe, but couldn't find anything on type() keyboard actions.

There is this old answer: https://answers.launchpad.net/sikuli/+question/225919 stating:
"(...)concurrent usage of mouse and keyboard: this is definitely not coordinated by Sikuli among threads."
But the answer is rather old.

Should I wrap those keyboard and mouse actions in a thread safe class or am I ok?

Thanks for answering

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.