HomeSort by relevance Sort by last modified time
    Searched refs:buttonMapping (Results 1 - 3 of 3) sorted by null

  /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;
  /developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/
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();

Completed in 68 milliseconds