Added basic keyboard input into the render proc