Merge "docs: Fixed typos in Game Controller training code snippets. bug: 17959906" into lmp-docs
diff --git a/docs/html/training/game-controllers/controller-input.jd b/docs/html/training/game-controllers/controller-input.jd
index 25fcde4..70e0585 100644
--- a/docs/html/training/game-controllers/controller-input.jd
+++ b/docs/html/training/game-controllers/controller-input.jd
@@ -518,7 +518,7 @@
         // Check that the event came from a game controller
         if ((event.getSource() & InputDevice.SOURCE_JOYSTICK) ==
                 InputDevice.SOURCE_JOYSTICK &&
-                event.getAction() == MotionEvent.ACTION_MOVE)
+                event.getAction() == MotionEvent.ACTION_MOVE) {
 
             // Process all historical movement samples in the batch
             final int historySize = event.getHistorySize();
@@ -609,9 +609,6 @@
     }
 
     // Update the ship object based on the new x and y values
-    ...
-
-    return true;
 }
 </pre>
 <p>To support game controllers that have more sophisticated