How can I simulate keypresses like in the demo program? Would I just have to draw what I wanted to the screen?