I don't just merely need software to create a custom keyboard layout. I need software that dynamically redefines the meaning of certain keys, depending on previously pressed keys. I want to set rules like "the key b when preceded by the key a must produce letter c, otherwise b". So, for example, typing abracadabra must produce the string acracadacra (because after pressing the a key, the meaning of the key b gets redefined to produce the letter c), however typing bat or ebony must produce bat and ebony, respectively.
Is there software for this? Question for programmers: what is the most simple way to create such software? (I do know some programming) What tools would you use? Do I need to write a new keyboard driver, or can it be done by a scripting tool, like Autoit?
It starts to sound like a stackoverflow question :-)