Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with German keyboard layout #2

Open
eicki opened this issue Feb 3, 2023 · 1 comment
Open

Issue with German keyboard layout #2

eicki opened this issue Feb 3, 2023 · 1 comment

Comments

@eicki
Copy link

eicki commented Feb 3, 2023

Hi,

I really like your tool, it works great on my laptop (with German keyboard layout) but it has an issue if I try to let it type a password in a vSphere machine with German keyboard layout. It then mixes up z and y. If I switch to US keyboard layout it works.
Can we make the keyboard layout to be used by your tool somehow configurable?

@jlaundry
Copy link
Owner

Hey @eicki, I haven't forgotten about this!

Basically to fix this, I need to either:

  • Replace the Windows Forms SendKeys function, which just doesn't support international keyboard layouts. I was thinking about moving away from Windows Forms anyway, but this is effectively a complete rewrite.
  • Create translation tables for each keyboard layout. Possible, but I'm thinking there may be edge cases with special characters normally present in passwords.

At the moment I'm leaning towards option 1... but now I just need to find time to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants