OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:buttonmapping
(Results
1 - 5
of
5
) sorted by null
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/
ControllerView.java
35
import com.example.android.visualgamecontroller.FullscreenActivity.
ButtonMapping
;
363
if (mButtons[
ButtonMapping
.BUTTON_R1.ordinal()] == 0) {
366
} else if (mButtons[
ButtonMapping
.BUTTON_R1.ordinal()] == 1) {
370
if (mButtons[
ButtonMapping
.BUTTON_L1.ordinal()] == 0) {
374
else if (mButtons[
ButtonMapping
.BUTTON_L1.ordinal()] == 1) {
437
if (mButtons[
ButtonMapping
.BUTTON_Y.ordinal()] == 1) {
441
if (mButtons[
ButtonMapping
.BUTTON_X.ordinal()] == 1) {
445
if (mButtons[
ButtonMapping
.BUTTON_B.ordinal()] == 1) {
449
if (mButtons[
ButtonMapping
.BUTTON_A.ordinal()] == 1) {
455
if (mButtons[
ButtonMapping
.POWER.ordinal()] == 1)
[
all
...]
FullscreenActivity.java
77
public enum
ButtonMapping
{
95
ButtonMapping
(int keyCode) {
127
private int[] mButtons = new int[
ButtonMapping
.values().length];
408
for (
ButtonMapping
buttonMapping
:
ButtonMapping
.values()) {
409
if (
buttonMapping
.getKeycode() == keyCode) {
410
return
buttonMapping
.ordinal();
/external/libvncserver/client_examples/
gtkvncviewer.c
94
struct { int gdk; int rfb; }
buttonMapping
[] = {
110
for (buttonMask = 0, i = 0;
buttonMapping
[i].gdk; i++)
111
if (state &
buttonMapping
[i].gdk)
112
buttonMask |=
buttonMapping
[i].rfb;
133
for (buttonMask = 0, i = 0;
buttonMapping
[i].gdk; i++)
134
if (state &
buttonMapping
[i].gdk)
135
buttonMask |=
buttonMapping
[i].rfb;
SDLvncviewer.c
10
struct { int sdl; int rfb; }
buttonMapping
[]={
400
for (i = 0;
buttonMapping
[i].sdl; i++)
401
if (state ==
buttonMapping
[i].sdl) {
402
state =
buttonMapping
[i].rfb;
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/
EventHelpers.cpp
170
cout << endl << "Displaying
ButtonMapping
Status:" << endl;
Completed in 108 milliseconds