I was playing around with some settings and added carried out the following command in the shell window on my chromebook:
sudo sh -e ~/Downloads/crouton -r trusty -t keyboard -u
I already had trusty installed but was trying to get the volume keys working better.
Now when I login the touchpad works, but the keyboard and touchpad keys don't. Any way to reverse the above to get it all working again?