Input object to read key presses