Searched refs:ButtonMapping (Results 1 – 2 of 2) sorted by relevance
35 import com.example.android.visualgamecontroller.FullscreenActivity.ButtonMapping;363 if (mButtons[ButtonMapping.BUTTON_R1.ordinal()] == 0) { in onDraw()366 } else if (mButtons[ButtonMapping.BUTTON_R1.ordinal()] == 1) { in onDraw()370 if (mButtons[ButtonMapping.BUTTON_L1.ordinal()] == 0) { in onDraw()374 else if (mButtons[ButtonMapping.BUTTON_L1.ordinal()] == 1) { in onDraw()437 if (mButtons[ButtonMapping.BUTTON_Y.ordinal()] == 1) { in onDraw()441 if (mButtons[ButtonMapping.BUTTON_X.ordinal()] == 1) { in onDraw()445 if (mButtons[ButtonMapping.BUTTON_B.ordinal()] == 1) { in onDraw()449 if (mButtons[ButtonMapping.BUTTON_A.ordinal()] == 1) { in onDraw()455 if (mButtons[ButtonMapping.POWER.ordinal()] == 1) { in onDraw()[all …]
77 public enum ButtonMapping { enum in FullscreenActivity95 ButtonMapping(int keyCode) { in ButtonMapping() method in FullscreenActivity.ButtonMapping127 private int[] mButtons = new int[ButtonMapping.values().length];408 for (ButtonMapping buttonMapping : ButtonMapping.values()) { in getButtonMappingIndex()