Examples: Keyboard Control
Using MooTools events to capture keyboard input and manipulate the canvas.
Info
Use the cursor-keys (left,right) to move, space to jump.
The events are added to the window, but you can use any other setup to capture the events you need.