Searched refs:mButtons (Results 1 – 2 of 2) sorted by relevance
65 private int[] mButtons; field in ControllerView363 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 …]
127 private int[] mButtons = new int[ButtonMapping.values().length]; field in FullscreenActivity143 for (int i = 0; i < mButtons.length; i++) { in onCreate()144 mButtons[i] = 0; in onCreate()149 mControllerView.setButtonsAxes(mButtons, mAxes); in onCreate()354 mButtons[index] = 1; in onKeyDown()376 mButtons[index] = 0; in onKeyUp()