I want the characters I type to be printed. When I press a letter key and SHIFT, I just want an upper letter to be printed.
The problem is, when I press a letter key and shift, the upper version of this letter is printed twice. Why is it printed twice? I just want it to be printed once.
It would be better to use the getKeyCode() function within keyAdapter, check that code, and print the actual key. Otherwise, it would be better to use the key != CODED boolean within the processing development environment. Here is an implementation: