Faizan and Pages fun little game

Dependencies:   4DGL-uLCD-SE mbed SDFileSystem wave_player

Revision:
12:3053789a2140
Parent:
11:4c91567fc089
Child:
13:a8eaced521a3
--- a/main.cpp	Mon Oct 31 04:54:56 2016 +0000
+++ b/main.cpp	Mon Oct 31 05:06:18 2016 +0000
@@ -63,10 +63,10 @@
     updateScore(0);
     
     while(lives) {
-        if (joystick.up()) {
+        if (joystick.left()) {
             sandwich.move(-1);
-        } else if (joystick.down()) {
-            sandwich.move(+1);
+        } else if (joystick.right()) {
+            sandwich.right(+1);
         }
         if (collisionCheck()) {
             collided->erase();