View Single Post
Old 02-11-2011, 03:59 AM   #10
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Quote:
Originally Posted by Sir Alex View Post
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.
dsmid is offline   Reply With Quote