Added interface for queuing input events in TextController