sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03497
Re: [Question #162221]: [Java] Button class not defined - use integer values instead
Question #162221 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/162221
RaiMan proposed the following answer:
no, Button class not defined on Java level.
They map the Python Button constants to
from java.awt.event import InputEvent
LEFT = InputEvent.BUTTON1_MASK
MIDDLE = InputEvent.BUTTON2_MASK
RIGHT = InputEvent.BUTTON3_MASK
which in turn leads to that integer constants.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.