sikuli / sikuli-api

41 stars 33 forks source link

Sikuli java api does not support non english keyboard layout #47

Open doubleshow opened 11 years ago

doubleshow commented 11 years ago

Original author: philippe...@gmail.com (April 12, 2013 11:47:54)

    <groupId>org.sikuli</groupId>
    <artifactId>sikuli-api</artifactId>
    <version>1.0.2</version>

Running on Windows 7 64 bit.

I'm using an azerty layout (standard in Belgium):

new DesktopKeyboard().type("123"); it enters the following: &é"

These symbols are on the same keys as 123, but are normally activated by pressing SHIFT.

When I switch my keyboard layout in windows to English US everything works fine.

Philippe

Original issue: http://code.google.com/p/sikuli-api/issues/detail?id=47

doubleshow commented 11 years ago

From nathan...@waisbrot.net on April 12, 2013 16:13:29 This makes it sound to me like it might be a Java problem (Sikuli uses the AWT Robot to perform its keyboard operations): http://stackoverflow.com/questions/14034069/java-robot-check-symbol-key

ELNIG commented 10 years ago

We have a problem with Swedish keyboard layout, due to unsupported characters. For example "åäö". It would be nice if we could extend the Key class to match our own layout, and have the robot use the new one. It is hardcoded and private right now.

/Niclas