Quote:
Originally Posted by Sir Alex
It's works! Try press SYM in browser whe you need enter text.
|
Perfect ! Thanks for the hint.
Do you think it would be possible to implement the 'auto_switch_back' feature I mentioned earlier ?
That would make your hack unbeatable.
What about implementation like this:
Code:
...
autoSwitchBack = new File("/mnt/us/keyboard/autoSwitchBack").exists();
...
if (!keyboardEN && trans.containsKey(string)) {
keyevent.setKeyChar(((String) trans.get(string)).charAt(0));
cont.MyLog("Translated to: " + keyevent.getKeyChar());
if (autoSwitchBack) {
keyboardEN = !keyboardEN;
cont.MyLog("Keyboard auto-switched: " + keyboardEN);
}
}
...
Thanks for making all the hacks that make my life much easier.