I have to make an on-screen keyboard using JAVA on linux. the problem is it has to work on the most languages.
for start, i need to et the current locale, that's clear, but after that, is there any way of getting the keyboard layout and maping of that locale?
i searched for hours, but couldn't find a thing, so i really hope you can help me.
Thanks in advance, Adam!
You might want to look at the keymap files on a typical unix system (/usr/share/keymaps on my linux system).
However, it might be tricky to map between locales and keymaps.
Also, it's worth remembering that locale isn't the only thing affecting the keymap - some people use Dvorak keyboards etc.
Surprisingly, Wikipedia has a pretty complete article on keyboard layouts for various languages, with illustrations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With