Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

language specific virtual keyboard with java

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!

like image 688
Edwardfmo Avatar asked May 23 '26 17:05

Edwardfmo


2 Answers

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.

like image 62
Adrian Mouat Avatar answered May 25 '26 06:05

Adrian Mouat


Surprisingly, Wikipedia has a pretty complete article on keyboard layouts for various languages, with illustrations.

like image 36
Gilbert Le Blanc Avatar answered May 25 '26 05:05

Gilbert Le Blanc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!