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

  /external/qemu/distrib/sdl-1.2.15/src/joystick/dc/
SDL_sysjoystick.c 138 int hat = SDL_HAT_CENTERED; local
139 if (buttons&CONT_DPAD_UP) hat|=SDL_HAT_UP;
140 if (buttons&CONT_DPAD_DOWN) hat|=SDL_HAT_DOWN;
141 if (buttons&CONT_DPAD_LEFT) hat|=SDL_HAT_LEFT;
142 if (buttons&CONT_DPAD_RIGHT) hat|=SDL_HAT_RIGHT;
143 SDL_PrivateJoystickHat(joystick, 0, hat);
146 int hat = SDL_HAT_CENTERED; local
147 if (buttons&CONT_DPAD2_UP) hat|=SDL_HAT_UP;
148 if (buttons&CONT_DPAD2_DOWN) hat|=SDL_HAT_DOWN;
149 if (buttons&CONT_DPAD2_LEFT) hat|=SDL_HAT_LEFT
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/joystick/
SDL_joystick_c.h 36 Uint8 hat, Uint8 value);
SDL_joystick.c 286 * Get the current state of a hat on a joystick
288 Uint8 SDL_JoystickGetHat(SDL_Joystick *joystick, int hat)
295 if ( hat < joystick->nhats ) {
296 state = joystick->hats[hat];
462 int SDL_PrivateJoystickHat(SDL_Joystick *joystick, Uint8 hat, Uint8 value)
467 if (hat >= joystick->nhats) {
472 joystick->hats[hat] = value;
481 event.jhat.hat = hat;
  /external/qemu/distrib/sdl-1.2.15/include/
SDL_joystick.h 137 * @name Hat Positions
153 * Get the current state of a POV hat on a joystick
155 * @param[in] hat The hat indices start at index 0.
157 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick *joystick, int hat);
SDL_events.h 62 SDL_JOYHATMOTION, /**< Joystick hat position change */
169 /** Joystick hat position change event structure */
173 Uint8 hat; /**< The joystick hat index */ member in struct:SDL_JoyHatEvent
174 Uint8 value; /**< The hat position value:
  /prebuilts/tools/darwin-x86/sdl/include/SDL/
SDL_joystick.h 137 * @name Hat Positions
153 * Get the current state of a POV hat on a joystick
155 * @param[in] hat The hat indices start at index 0.
157 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick *joystick, int hat);
SDL_events.h 62 SDL_JOYHATMOTION, /**< Joystick hat position change */
169 /** Joystick hat position change event structure */
173 Uint8 hat; /**< The joystick hat index */ member in struct:SDL_JoyHatEvent
174 Uint8 value; /**< The hat position value:
  /prebuilts/tools/linux-x86/sdl/include/SDL/
SDL_joystick.h 137 * @name Hat Positions
153 * Get the current state of a POV hat on a joystick
155 * @param[in] hat The hat indices start at index 0.
157 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick *joystick, int hat);
SDL_events.h 62 SDL_JOYHATMOTION, /**< Joystick hat position change */
169 /** Joystick hat position change event structure */
173 Uint8 hat; /**< The joystick hat index */ member in struct:SDL_JoyHatEvent
174 Uint8 value; /**< The hat position value:
  /prebuilts/tools/windows/sdl/include/SDL/
SDL_joystick.h 137 * @name Hat Positions
153 * Get the current state of a POV hat on a joystick
155 * @param[in] hat The hat indices start at index 0.
157 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick *joystick, int hat);
SDL_events.h 62 SDL_JOYHATMOTION, /**< Joystick hat position change */
169 /** Joystick hat position change event structure */
173 Uint8 hat; /**< The joystick hat index */ member in struct:SDL_JoyHatEvent
174 Uint8 value; /**< The hat position value:
  /build/tools/apicheck/
Android.mk 24 # the hat script
  /cts/tools/cts-api-coverage/
Android.mk 21 # the hat script
  /cts/tools/cts-java-scanner/
Android.mk 21 # the hat script
  /cts/tools/cts-native-scanner/
Android.mk 21 # the hat script
  /cts/tools/cts-xml-generator/
Android.mk 21 # the hat script
  /external/qemu/distrib/sdl-1.2.15/test/
testjoystick.c 53 printf("Joystick %d hat %d value:",
55 event.jhat.hat);
  /external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
SDL_sysjoystick.c 85 {logical joy, logical hat},
606 if ( SDL_strstr(name, "Analog") == name && SDL_strstr(name, "-hat") ) {
607 if ( SDL_sscanf(name,"Analog %d-axis %*d-button %d-hat",
744 printf("Joystick has hat %d\n",(i-ABS_HAT0X)/2);
927 void HandleHat(SDL_Joystick *stick, Uint8 hat, int axis, int value)
938 if (stick->nhats <= hat) {
942 the_hat = &stick->hwdata->hats[hat];
962 hats = SDL_joylist[stick->index].map->hatmap+hat;
968 hat = hats->nthing;
972 SDL_PrivateJoystickHat(stick, hat,
    [all...]
  /build/
envsetup.sh     [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
numfmtst.cpp 1306 UChar hat = 0x005E; \/*^*\/ local
    [all...]
  /external/icu/icu4c/source/test/intltest/
numfmtst.cpp 1580 UChar hat = 0x005E; \/*^*\/ local
    [all...]
  /external/bison/build-aux/
texinfo.tex     [all...]
  /ndk/sources/host-tools/sed-4.2.1/build-aux/
texinfo.tex     [all...]

Completed in 3053 milliseconds