Handle input automatically

From this commit on, input device setup and pulling is done by the
engine itself.