Permalink
Browse files

Updated readme file.

  • Loading branch information...
1 parent a7c08b6 commit e335f01e92f8433c734bb9c85325daeefee39ddf Sam Rodgers committed May 5, 2010
Showing with 11 additions and 10 deletions.
  1. +11 −10 README.markdown
View
@@ -1,8 +1,8 @@
-![screenshot](http://github.com/acdimalev/acdimalev-demo-2010-04-21-01/raw/master/screenshot.png)
+![screenshot](http://github.com/acdimalev/acdimalev-demo-2010-05-02-01/raw/master/screenshot.png)
-A C+SDL+Cairo demo. Navigate a triangle around the screen with simple acceleration and drag physics.
+A C+SDL+Cairo demo. Test combined joystick / keyboard input. Based on *acdimalev-demo-2010-04-21-01*.
-http://github.com/acdimalev/acdimalev-demo-2010-04-21-01
+http://github.com/acdimalev/acdimalev-demo-2010-05-02-01
You must have Cairo and SDL installed to build this demo.
@@ -19,11 +19,12 @@ To build and execute the demo, run "make" and then "./foo".
$ make
$ ./foo
-The demo will pop up in a window. You can then use the following controls to manipulate the triangle:
+The demo will pop up in a window, and may be closed with the *q* key. You can then use the following controls to manipulate the triangle:
-* LEFT — turn left
-* RIGHT — turn right
-* UP — forward
-* Q — quit
-* F — toggle fullscreen
-* H — stretch image (corrects aspect ratio when displaying on my HDTV)
+* Keyboard
+** LEFT — steer left
+** RIGHT — steer right
+** UP — gas
+* Xbox 360 Controller
+** Left Thumbstick — steer
+** Right Trigger — gas

0 comments on commit e335f01

Please sign in to comment.