We've had a report that the keyPressed function does not work as intended with certain keys. The issue is exemplified in this program where pressing the SPACE bar together with the combination of UP and LEFT arrows (to move diagonally) only cause movement horizontally to the left. The program works in all other directions.
Workaround: in this case the keyPressed code will work when F is used instead of SPACE bar. You can try other combinations too if you should encounter the problem.
The troubleshooters are aware of the issue. Until it's fixed we apologize for the inconvenience.
May 17th 2016
Internal ref #133096931301031