You could also look at technology like Dasher - from Cambridge Uni somewhere http://www.inference.phy.cam.ac.uk/dasher/[^]. It's a word processor that you only use the mouse with, and it uses predictive text to offer the most likely alternatives. I tried it but couldn't get on with it but my son thinks it is great - esp as his spelling is rubbish. Not sure how you'd get to use it for coding though. Last time I looked there was other stuff related to disabilities on that site as well some of which may help (YMMV).
V
Violinist2
@Violinist2