A simple demonstration program of the technique.
This program reads the keyboard input and writes to the keyboard output. With this idea in mind, it will be possible to manipulate the keyboard input and output and make a spell checker, for English and Portuguese, to help dyslexic People. This in any program they use, that has a TextEditor Box or a editor area. The spell checking would start by a key combination and would terminate by the same key combination. Basically, dyslexic people change the order of the letters, and same press the keys that are near by the correct key (adjacent keys). The words can come from Hunspell, or from a database of words. Then we would apply the Prof. Petter Norvig algoritm for spell checking (from his personal site) with the modification that I have made in the past, for Portuguese, in other repo in C_Sharp.
This program is a modified port of the program
actkbd - A keyboard shortcut daemon
http://users.softlab.ntua.gr/~thkala/projects/actkbd/actkbd.html
And has the same license as the original code.
# You have to run the program has sudo - super user.
$ make
$ sudo ./linux_dyslexic_help.exe This program is in development. It can read the keyboard input and write the keyboard output. It can write the word "batatas" when the key number one is pressed. But only writes 4 characters of complete press and releases appear, then the user has to press another key to see the rest of the keys sent to the output (program where is the focus). Currently I don't know why this is happening. I will try to came back at a latter time to fix this.
GNU GPL v2
Best regards,
Joao Carvalho