varunon9 / Remote-Control-PC

Control Laptop using Android. Remote control PC consists of android as well as desktop app written in Java to control laptop using phone.
MIT License
194 stars 97 forks source link

unable to send any multilingual character to PC from mobile #19

Open bha2020 opened 6 years ago

bha2020 commented 6 years ago

Your code is really very helpful for me thank you. But Im having one issue regarding android to PC text sending When im typing any hindi character and sending it PC not acepts it?(Keyboard menu) Please help.

varunon9 commented 6 years ago

Hi thank you for feedback. This issue will be an enhancement. As of now this feature is not supported. See https://github.com/varunon9/Remote-Control-PC/blob/master/RemoteControlPC-JavaFXML/src/mousekeyboardcontrol/MouseKeyboardControl.java typeCharacter method line no 99. Only these characters are supported.

bha2020 commented 6 years ago

Thank you so much for your reply.

bha2020 commented 6 years ago

can you please help me in this modification of keycode for hindi for example ALT+099 is for character ब so how I give input for this key case 'ब':doType(KeyEvent.VK_ALT+099);break; something like this?

varunon9 commented 6 years ago

check this https://docs.oracle.com/javase/7/docs/api/java/awt/event/KeyEvent.html. dig a little deeper into it, you will find it. check how Java Robot class can simulate hindi characters key / unicode characters.