Small fixes in input.h

-> function readBuf() was not defined there
-> typo L_LEY to L_KEY