← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #285483]: isLockOn does not change until typing from the keyboard

 

Question #285483 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/285483

RaiMan posted a new comment:
just tested on my Win 10/64 with Java 8-91 after having run a setup from
the nightly build.

k = {"NUM_LOCK":Key.NUM_LOCK, "SCROLL_LOCK":Key.SCROLL_LOCK, "CAPS_LOCK":Key.CAPS_LOCK} 
for key in k.keys():
  vk = k[key]
  print key, Env.isLockOn(vk)
  type(vk)
  print key, Env.isLockOn(vk)

... prints
CAPS_LOCK False
CAPS_LOCK True
SCROLL_LOCK False
SCROLL_LOCK True
NUM_LOCK False
NUM_LOCK True

and all the leds on my keyboard are on and the states are switched
indeed.

... and I do not have any problems.

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