Added contents of keyboard dealing

Not working at present...