Add keyboard input, move input device creation to compositor.