/AliOS-Things-master/components/SDL2/test/ |
A D | controllermap.c | 131 int hat; member 133 } hat; member 302 …og("Configuring hat binding for hat %d %d\n", pBinding->value.hat.hat, pBinding->value.hat.hat_mas… in ConfigureBinding() 505 SDL_Log("HAT %d %d\n", event.jhat.hat, event.jhat.value); in WatchJoystick() 509 binding.value.hat.hat = event.jhat.hat; in WatchJoystick() 510 binding.value.hat.hat_mask = event.jhat.value; in WatchJoystick() 680 …ntf(pszElement, sizeof(pszElement), "h%d.%d", pBinding->value.hat.hat, pBinding->value.hat.hat_mas… in WatchJoystick()
|
A D | testjoystick.c | 139 event.jhat.which, event.jhat.hat); in loop()
|
/AliOS-Things-master/components/SDL2/src/joystick/ |
A D | SDL_gamecontroller.c | 67 int hat; member 69 } hat; member 330 if (binding->inputType == SDL_CONTROLLER_BINDTYPE_HAT && hat == binding->input.hat.hat) { in HandleJoystickHat() 652 bind.input.hat.hat = hat; in SDL_PrivateGameControllerParseElement() 653 bind.input.hat.hat_mask = mask; in SDL_PrivateGameControllerParseElement() 1875 int hat_mask = SDL_JoystickGetHat(gamecontroller->joystick, binding->input.hat.hat); in SDL_GameControllerGetAxis() 1928 int hat_mask = SDL_JoystickGetHat(gamecontroller->joystick, binding->input.hat.hat); in SDL_GameControllerGetButton() 2070 bind.value.hat.hat = binding->input.hat.hat; in SDL_GameControllerGetBindForAxis() 2071 bind.value.hat.hat_mask = binding->input.hat.hat_mask; in SDL_GameControllerGetBindForAxis() 2101 bind.value.hat.hat = binding->input.hat.hat; in SDL_GameControllerGetBindForButton() [all …]
|
A D | SDL_joystick.c | 565 SDL_JoystickSetVirtualHat(SDL_Joystick * joystick, int hat, Uint8 value) in SDL_JoystickSetVirtualHat() argument 568 return SDL_JoystickSetVirtualHatInner(joystick, hat, value); in SDL_JoystickSetVirtualHat() 699 SDL_JoystickGetHat(SDL_Joystick * joystick, int hat) in SDL_JoystickGetHat() argument 706 if (hat < joystick->nhats) { in SDL_JoystickGetHat() 707 state = joystick->hats[hat]; in SDL_JoystickGetHat() 1225 SDL_PrivateJoystickHat(SDL_Joystick * joystick, Uint8 hat, Uint8 value) in SDL_PrivateJoystickHat() argument 1230 if (hat >= joystick->nhats) { in SDL_PrivateJoystickHat() 1233 if (value == joystick->hats[hat]) { in SDL_PrivateJoystickHat() 1247 joystick->hats[hat] = value; in SDL_PrivateJoystickHat() 1256 event.jhat.hat = hat; in SDL_PrivateJoystickHat()
|
A D | SDL_joystick_c.h | 105 Uint8 hat, Uint8 value);
|
/AliOS-Things-master/components/SDL2/src/joystick/virtual/ |
A D | SDL_virtualjoystick.c | 217 SDL_JoystickSetVirtualHatInner(SDL_Joystick * joystick, int hat, Uint8 value) in SDL_JoystickSetVirtualHatInner() argument 229 if (hat < 0 || hat >= hwdata->nbuttons) { in SDL_JoystickSetVirtualHatInner() 234 hwdata->hats[hat] = value; in SDL_JoystickSetVirtualHatInner()
|
A D | SDL_virtualjoystick_c.h | 59 int SDL_JoystickSetVirtualHatInner(SDL_Joystick * joystick, int hat, Uint8 value);
|
/AliOS-Things-master/components/SDL2/src/joystick/linux/ |
A D | SDL_sysjoystick.c | 902 the_hat = &stick->hwdata->hats[hat]; in HandleHat() 912 SDL_PrivateJoystickHat(stick, hat, in HandleHat() 1277 out->leftshoulder.target = hat | 0x4; in LINUX_JoystickGetGamepadMapping() 1278 out->rightshoulder.target = hat | 0x2; in LINUX_JoystickGetGamepadMapping() 1286 out->lefttrigger.target = hat | 0x4; in LINUX_JoystickGetGamepadMapping() 1287 out->righttrigger.target = hat | 0x2; in LINUX_JoystickGetGamepadMapping() 1324 int hat = joystick->hwdata->hats_indices[0] << 4; in LINUX_JoystickGetGamepadMapping() local 1329 out->dpleft.target = hat | 0x8; in LINUX_JoystickGetGamepadMapping() 1330 out->dpright.target = hat | 0x2; in LINUX_JoystickGetGamepadMapping() 1331 out->dpup.target = hat | 0x1; in LINUX_JoystickGetGamepadMapping() [all …]
|
/AliOS-Things-master/components/SDL2/src/joystick/windows/ |
A D | SDL_xinputjoystick.c | 452 Uint8 hat = SDL_HAT_CENTERED; in UpdateXInputJoystickState() local 466 hat |= SDL_HAT_UP; in UpdateXInputJoystickState() 469 hat |= SDL_HAT_DOWN; in UpdateXInputJoystickState() 472 hat |= SDL_HAT_LEFT; in UpdateXInputJoystickState() 475 hat |= SDL_HAT_RIGHT; in UpdateXInputJoystickState() 477 SDL_PrivateJoystickHat(joystick, 0, hat); in UpdateXInputJoystickState()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_gamecontroller.h | 90 int hat; member 92 } hat; member
|
A D | SDL_joystick.h | 235 extern DECLSPEC int SDLCALL SDL_JoystickSetVirtualHat(SDL_Joystick * joystick, int hat, Uint8 value… 402 int hat);
|
A D | SDL_events.h | 339 Uint8 hat; /**< The joystick hat index */ member
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/facebody/src/model/ |
A D | PedestrianDetectAttributeResult.cc | 76 attributesItemObject.hat.name = hatNode["Name"].asString(); in parse() 78 attributesItemObject.hat.score = std::stof(hatNode["Score"].asString()); in parse()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/facebody/include/alibabacloud/facebody/model/ |
A D | PedestrianDetectAttributeResult.h | 107 Hat hat; member
|
/AliOS-Things-master/components/SDL2/src/joystick/iphoneos/ |
A D | SDL_sysjoystick.m | 606 Uint8 hat = 0; field 609 hat |= SDL_HAT_UP; 611 hat |= SDL_HAT_DOWN; 615 hat |= SDL_HAT_LEFT; 617 hat |= SDL_HAT_RIGHT; 620 if (hat == 0) { category 624 return hat;
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_events.c | 251 (uint) event->jhat.hat, (uint) event->jhat.value); in SDL_LogEvent()
|
/AliOS-Things-master/components/freetype/src/gxvalid/ |
A D | README | 522 suzuki toshiya, Masatake YAMATO, Red hat K.K.,
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_common.c | 1406 event->jhat.hat, position); in SDLTest_PrintEvent()
|