Open visionki opened 1 year ago
SX version?
I just tested it again and found it was normal. Maybe I was wrong?
The version I use is:
<dependency>
<groupId>com.sikulix</groupId>
<artifactId>sikulixapi</artifactId>
<version>2.0.5</version>
</dependency>
He has shown up again and I don't know what is causing it, my code is as follows:
@Test
void click() {
Screen screen = Screen.getScreen(1);
screen.keyDown(Key.UP);
screen.keyUp();
}
This is the site I tested : https://www.zfrontier.com/lab/keyboardTester or https://keyboard.bmcx.com/
I tried to toggle with NUM_LOCK, but it seems that this button is also not working correctly。
@Test
void click() {
Screen screen = Screen.getScreen(1);
screen.keyDown(Key.NUM_LOCK);
screen.keyUp();
screen.keyDown(Key.UP);
screen.keyUp();
}
Does it have anything to do with my keyboard device? My keyboard is 87 keys. Or maybe it has to do with the region?
I'm using the
screen.keyDown(Key.UP)
function, hoping to press the UP of the keyboard arrow keys, but he does not work, I used the keyboard detection tool to find that the press to the numeric keyboard 8, please how to solve ?