From 3d7b134d08e7a4f334faa1bd3f3acc23081c0493 Mon Sep 17 00:00:00 2001
From: quddusc
Date: Wed, 26 Mar 2014 14:42:31 -0700
Subject: docs: Fixed gamepad mapping doc to recommend that B button should be
used for back navigation in menus. Bug: 13487101
Change-Id: If62a7415262877b7ef4ca19fcf0ab77c5323f1cb
---
.../training/game-controllers/controller-input.jd | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
(limited to 'docs/html')
diff --git a/docs/html/training/game-controllers/controller-input.jd b/docs/html/training/game-controllers/controller-input.jd
index 2c50ae1..c9517ba 100644
--- a/docs/html/training/game-controllers/controller-input.jd
+++ b/docs/html/training/game-controllers/controller-input.jd
@@ -236,26 +236,33 @@ buttons.
Start game in main menu, or pause/unpause during game |
- {@link android.view.KeyEvent#KEYCODE_BUTTON_START BUTTON_START} |
+ {@link android.view.KeyEvent#KEYCODE_BUTTON_START BUTTON_START}* |
Display menu |
- {@link android.view.KeyEvent#KEYCODE_BUTTON_SELECT BUTTON_SELECT} and
-{@link android.view.KeyEvent#KEYCODE_MENU} |
+ {@link android.view.KeyEvent#KEYCODE_BUTTON_SELECT BUTTON_SELECT}*
+ and {@link android.view.KeyEvent#KEYCODE_MENU}* |
Same as Android Back |
- {@link android.view.KeyEvent#KEYCODE_BUTTON_B BUTTON_B}* and
-{@link android.view.KeyEvent#KEYCODE_BACK KEYCODE_BACK} |
+ {@link android.view.KeyEvent#KEYCODE_BACK KEYCODE_BACK} |
+
+
+ Navigate back to a previous item in a menu |
+ {@link android.view.KeyEvent#KEYCODE_BUTTON_B BUTTON_B}** |
Confirm selection, or perform primary game action |
- {@link android.view.KeyEvent#KEYCODE_BUTTON_A BUTTON_A}* and
+ | {@link android.view.KeyEvent#KEYCODE_BUTTON_A BUTTON_A}** and
{@link android.view.KeyEvent#KEYCODE_DPAD_CENTER DPAD_CENTER} |
-* This could be the opposite button (A/B), depending on the locale that
+* Your game should not rely on the presence of the Start, Select, or Menu
+ buttons.
+
+
+** This could be the opposite button (A/B), depending on the locale that
you are supporting.
--
cgit v1.1