read input event [tc]