/AliOS-Things-master/components/SDL2/src/haptic/windows/ |
A D | SDL_windowshaptic.c | 298 effect->hweffect = (struct haptic_hweffect *) in SDL_SYS_HapticNewEffect() 300 if (effect->hweffect == NULL) { in SDL_SYS_HapticNewEffect() 304 SDL_zerop(effect->hweffect); in SDL_SYS_HapticNewEffect() 312 SDL_free(effect->hweffect); in SDL_SYS_HapticNewEffect() 313 effect->hweffect = NULL; in SDL_SYS_HapticNewEffect() 323 struct haptic_effect *effect, in SDL_SYS_HapticUpdateEffect() argument 354 return SDL_XINPUT_HapticStopEffect(haptic, effect); in SDL_SYS_HapticStopEffect() 367 SDL_XINPUT_HapticDestroyEffect(haptic, effect); in SDL_SYS_HapticDestroyEffect() 369 SDL_DINPUT_HapticDestroyEffect(haptic, effect); in SDL_SYS_HapticDestroyEffect() 371 SDL_free(effect->hweffect); in SDL_SYS_HapticDestroyEffect() [all …]
|
A D | SDL_xinputhaptic.c | 273 return SDL_XINPUT_HapticUpdateEffect(haptic, effect, base); in SDL_XINPUT_HapticNewEffect() 279 XINPUT_VIBRATION *vib = &effect->hweffect->vibration; in SDL_XINPUT_HapticUpdateEffect() 295 XINPUT_VIBRATION *vib = &effect->hweffect->vibration; in SDL_XINPUT_HapticRunEffect() 296 … SDL_assert(effect->effect.type == SDL_HAPTIC_LEFTRIGHT); /* should catch this at higher level */ in SDL_XINPUT_HapticRunEffect() 298 … if (effect->effect.leftright.length == SDL_HAPTIC_INFINITY || iterations == SDL_HAPTIC_INFINITY) { in SDL_XINPUT_HapticRunEffect() 300 } else if ((!effect->effect.leftright.length) || (!iterations)) { in SDL_XINPUT_HapticRunEffect() 303 haptic->hwdata->stopTicks = SDL_GetTicks() + (effect->effect.leftright.length * iterations); in SDL_XINPUT_HapticRunEffect() 313 SDL_XINPUT_HapticStopEffect(SDL_Haptic * haptic, struct haptic_effect *effect) in SDL_XINPUT_HapticStopEffect() argument 323 SDL_XINPUT_HapticDestroyEffect(SDL_Haptic * haptic, struct haptic_effect *effect) in SDL_XINPUT_HapticDestroyEffect() argument 325 SDL_XINPUT_HapticStopEffect(haptic, effect); in SDL_XINPUT_HapticDestroyEffect() [all …]
|
A D | SDL_dinputhaptic.c | 893 effect->lpEnvelope = NULL; in SDL_SYS_HapticFreeDIEFFECT() 894 SDL_free(effect->rgdwAxes); in SDL_SYS_HapticFreeDIEFFECT() 895 effect->rgdwAxes = NULL; in SDL_SYS_HapticFreeDIEFFECT() 906 effect->rglDirection = NULL; in SDL_SYS_HapticFreeDIEFFECT() 915 switch (effect->type) { in SDL_SYS_HapticEffectType() 969 if (SDL_SYS_ToDIEFFECT(haptic, &effect->hweffect->effect, base) < 0) { in SDL_DINPUT_HapticNewEffect() 975 &effect->hweffect->effect, in SDL_DINPUT_HapticNewEffect() 985 SDL_SYS_HapticFreeDIEFFECT(&effect->hweffect->effect, base->type); in SDL_DINPUT_HapticNewEffect() 1033 SDL_SYS_HapticFreeDIEFFECT(&effect->hweffect->effect, data->type); in SDL_DINPUT_HapticUpdateEffect() 1034 SDL_memcpy(&effect->hweffect->effect, &temp, sizeof(DIEFFECT)); in SDL_DINPUT_HapticUpdateEffect() [all …]
|
A D | SDL_dinputhaptic_c.h | 35 extern int SDL_DINPUT_HapticNewEffect(SDL_Haptic * haptic, struct haptic_effect *effect, SDL_Haptic… 36 extern int SDL_DINPUT_HapticUpdateEffect(SDL_Haptic * haptic, struct haptic_effect *effect, SDL_Hap… 37 extern int SDL_DINPUT_HapticRunEffect(SDL_Haptic * haptic, struct haptic_effect *effect, Uint32 ite… 38 extern int SDL_DINPUT_HapticStopEffect(SDL_Haptic * haptic, struct haptic_effect *effect); 39 extern void SDL_DINPUT_HapticDestroyEffect(SDL_Haptic * haptic, struct haptic_effect *effect); 40 extern int SDL_DINPUT_HapticGetEffectStatus(SDL_Haptic * haptic, struct haptic_effect *effect);
|
A D | SDL_xinputhaptic_c.h | 35 extern int SDL_XINPUT_HapticNewEffect(SDL_Haptic * haptic, struct haptic_effect *effect, SDL_Haptic… 36 extern int SDL_XINPUT_HapticUpdateEffect(SDL_Haptic * haptic, struct haptic_effect *effect, SDL_Hap… 37 extern int SDL_XINPUT_HapticRunEffect(SDL_Haptic * haptic, struct haptic_effect *effect, Uint32 ite… 38 extern int SDL_XINPUT_HapticStopEffect(SDL_Haptic * haptic, struct haptic_effect *effect); 39 extern void SDL_XINPUT_HapticDestroyEffect(SDL_Haptic * haptic, struct haptic_effect *effect); 40 extern int SDL_XINPUT_HapticGetEffectStatus(SDL_Haptic * haptic, struct haptic_effect *effect);
|
A D | SDL_windowshaptic_c.h | 56 DIEFFECT effect; member
|
/AliOS-Things-master/components/SDL2/src/haptic/ |
A D | SDL_haptic.c | 468 if ((haptic->supported & effect->type) != 0) in SDL_HapticEffectSupported() 501 SDL_memcpy(&haptic->effects[i].effect, effect, in SDL_HapticNewEffect() 514 ValidEffect(SDL_Haptic * haptic, int effect) in ValidEffect() argument 516 if ((effect < 0) || (effect >= haptic->neffects)) { in ValidEffect() 527 SDL_HapticUpdateEffect(SDL_Haptic * haptic, int effect, in SDL_HapticUpdateEffect() argument 535 if (data->type != haptic->effects[effect].effect.type) { in SDL_HapticUpdateEffect() 545 SDL_memcpy(&haptic->effects[effect].effect, data, in SDL_HapticUpdateEffect() 574 SDL_HapticStopEffect(SDL_Haptic * haptic, int effect) in SDL_HapticStopEffect() argument 592 SDL_HapticDestroyEffect(SDL_Haptic * haptic, int effect) in SDL_HapticDestroyEffect() argument 599 if (haptic->effects[effect].hweffect == NULL) { in SDL_HapticDestroyEffect() [all …]
|
A D | SDL_syshaptic.h | 32 SDL_HapticEffect effect; /* The current event */ member 126 struct haptic_effect *effect, 136 struct haptic_effect *effect, 145 struct haptic_effect *effect, 154 struct haptic_effect *effect); 160 struct haptic_effect *effect); 169 struct haptic_effect *effect);
|
/AliOS-Things-master/components/SDL2/src/haptic/darwin/ |
A D | SDL_syshaptic.c | 1088 effect->lpEnvelope = NULL; in SDL_SYS_HapticFreeFFEFFECT() 1090 effect->rgdwAxes = NULL; in SDL_SYS_HapticFreeFFEFFECT() 1181 if (SDL_SYS_ToFFEFFECT(haptic, &effect->hweffect->effect, base) < 0) { in SDL_SYS_HapticNewEffect() 1187 &effect->hweffect->effect, in SDL_SYS_HapticNewEffect() 1197 SDL_SYS_HapticFreeFFEFFECT(&effect->hweffect->effect, base->type); in SDL_SYS_HapticNewEffect() 1200 effect->hweffect = NULL; in SDL_SYS_HapticNewEffect() 1240 SDL_SYS_HapticFreeFFEFFECT(&effect->hweffect->effect, data->type); in SDL_SYS_HapticUpdateEffect() 1241 SDL_memcpy(&effect->hweffect->effect, &temp, sizeof(FFEFFECT)); in SDL_SYS_HapticUpdateEffect() 1309 SDL_SYS_HapticFreeFFEFFECT(&effect->hweffect->effect, in SDL_SYS_HapticDestroyEffect() 1310 effect->effect.type); in SDL_SYS_HapticDestroyEffect() [all …]
|
/AliOS-Things-master/components/SDL2/src/haptic/dummy/ |
A D | SDL_syshaptic.c | 107 struct haptic_effect *effect, SDL_HapticEffect * base) in SDL_SYS_HapticNewEffect() argument 115 struct haptic_effect *effect, in SDL_SYS_HapticUpdateEffect() argument 123 SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, struct haptic_effect *effect, in SDL_SYS_HapticRunEffect() argument 131 SDL_SYS_HapticStopEffect(SDL_Haptic * haptic, struct haptic_effect *effect) in SDL_SYS_HapticStopEffect() argument 138 SDL_SYS_HapticDestroyEffect(SDL_Haptic * haptic, struct haptic_effect *effect) in SDL_SYS_HapticDestroyEffect() argument 147 struct haptic_effect *effect) in SDL_SYS_HapticGetEffectStatus() argument
|
/AliOS-Things-master/components/SDL2/src/haptic/android/ |
A D | SDL_syshaptic.c | 219 struct haptic_effect *effect, SDL_HapticEffect * base) in SDL_SYS_HapticNewEffect() argument 227 struct haptic_effect *effect, in SDL_SYS_HapticUpdateEffect() argument 235 SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, struct haptic_effect *effect, in SDL_SYS_HapticRunEffect() argument 238 float large = effect->effect.leftright.large_magnitude / 32767.0f; in SDL_SYS_HapticRunEffect() 239 float small = effect->effect.leftright.small_magnitude / 32767.0f; in SDL_SYS_HapticRunEffect() 243 …apticRun (((SDL_hapticlist_item *)haptic->hwdata)->device_id, total, effect->effect.leftright.leng… in SDL_SYS_HapticRunEffect() 249 SDL_SYS_HapticStopEffect(SDL_Haptic * haptic, struct haptic_effect *effect) in SDL_SYS_HapticStopEffect() argument 257 SDL_SYS_HapticDestroyEffect(SDL_Haptic * haptic, struct haptic_effect *effect) in SDL_SYS_HapticDestroyEffect() argument 265 struct haptic_effect *effect) in SDL_SYS_HapticGetEffectStatus() argument
|
/AliOS-Things-master/components/SDL2/src/joystick/darwin/ |
A D | SDL_sysjoystick.c | 46 if (!effect) { in FreeRumbleEffectData() 52 SDL_free(effect); in FreeRumbleEffectData() 57 FFEFFECT *effect; in CreateRumbleEffectData() local 61 effect = (FFEFFECT *)SDL_calloc(1, sizeof(*effect)); in CreateRumbleEffectData() 62 if (!effect) { in CreateRumbleEffectData() 65 effect->dwSize = sizeof(*effect); in CreateRumbleEffectData() 66 effect->dwGain = 10000; in CreateRumbleEffectData() 71 effect->cAxes = 2; in CreateRumbleEffectData() 72 effect->rgdwAxes = (DWORD *)SDL_calloc(effect->cAxes, sizeof(DWORD)); in CreateRumbleEffectData() 78 effect->rglDirection = (LONG *)SDL_calloc(effect->cAxes, sizeof(LONG)); in CreateRumbleEffectData() [all …]
|
/AliOS-Things-master/components/SDL2/src/haptic/linux/ |
A D | SDL_syshaptic.c | 965 linux_effect = &effect->hweffect->effect; in SDL_SYS_HapticNewEffect() 981 SDL_free(effect->hweffect); in SDL_SYS_HapticNewEffect() 982 effect->hweffect = NULL; in SDL_SYS_HapticNewEffect() 1004 linux_effect.id = effect->hweffect->effect.id; in SDL_SYS_HapticUpdateEffect() 1013 SDL_memcpy(&effect->hweffect->effect, &linux_effect, in SDL_SYS_HapticUpdateEffect() 1016 return effect->hweffect->effect.id; in SDL_SYS_HapticUpdateEffect() 1031 run.code = effect->hweffect->effect.id; in SDL_SYS_HapticRunEffect() 1052 stop.code = effect->hweffect->effect.id; in SDL_SYS_HapticStopEffect() 1070 if (ioctl(haptic->hwdata->fd, EVIOCRMFF, effect->hweffect->effect.id) < 0) { in SDL_SYS_HapticDestroyEffect() 1075 effect->hweffect = NULL; in SDL_SYS_HapticDestroyEffect() [all …]
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_haptic.h | 1016 effect); 1030 SDL_HapticEffect * effect); 1050 int effect, 1072 int effect, 1086 int effect); 1100 int effect); 1115 int effect);
|
/AliOS-Things-master/components/SDL2/src/joystick/windows/ |
A D | SDL_dinputjoystick.c | 441 if (!effect) { in FreeRumbleEffectData() 447 SDL_free(effect); in FreeRumbleEffectData() 452 DIEFFECT *effect; in CreateRumbleEffectData() local 456 effect = (DIEFFECT *)SDL_calloc(1, sizeof(*effect)); in CreateRumbleEffectData() 457 if (!effect) { in CreateRumbleEffectData() 460 effect->dwSize = sizeof(*effect); in CreateRumbleEffectData() 461 effect->dwGain = 10000; in CreateRumbleEffectData() 466 effect->cAxes = 2; in CreateRumbleEffectData() 467 effect->rgdwAxes = (DWORD *)SDL_calloc(effect->cAxes, sizeof(DWORD)); in CreateRumbleEffectData() 473 effect->rglDirection = (LONG *)SDL_calloc(effect->cAxes, sizeof(LONG)); in CreateRumbleEffectData() [all …]
|
/AliOS-Things-master/components/SDL2/src/joystick/linux/ |
A D | SDL_sysjoystick.c | 808 joystick->hwdata->effect.id = -1; in LINUX_JoystickOpen() 856 struct ff_effect *effect = &joystick->hwdata->effect; in LINUX_JoystickRumble() local 858 effect->type = FF_RUMBLE; in LINUX_JoystickRumble() 865 struct ff_effect *effect = &joystick->hwdata->effect; in LINUX_JoystickRumble() local 867 effect->type = FF_PERIODIC; in LINUX_JoystickRumble() 869 effect->u.periodic.waveform = FF_SINE; in LINUX_JoystickRumble() 870 effect->u.periodic.magnitude = magnitude; in LINUX_JoystickRumble() 877 joystick->hwdata->effect.id = -1; in LINUX_JoystickRumble() 884 event.code = joystick->hwdata->effect.id; in LINUX_JoystickRumble() 1138 if (joystick->hwdata->effect.id >= 0) { in LINUX_JoystickClose() [all …]
|
A D | SDL_sysjoystick_c.h | 39 struct ff_effect effect; member
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/ |
A D | cmsis_armcc_ca.h | 406 CPS #0x1F ;no effect in USR mode in __get_SP_usr() 408 MSR CPSR_c, R1 ;no effect in USR mode in __get_SP_usr() 422 CPS #0x1F ;no effect in USR mode in __set_SP_usr() 424 MSR CPSR_c, R1 ;no effect in USR mode in __set_SP_usr()
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/vstudio/ |
A D | readme.txt | 70 has a slightly different effect. To avoid compatibility problems, do
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/ |
A D | CMakeLists.txt | 197 # This has no effect with MSVC, on that platform the version info for
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/ |
A D | DownloadProject.cmake | 41 # are provided, then PREFIX will have no effect. The default value for PREFIX is
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/function_test/core/ |
A D | DownloadProject.cmake | 41 # are provided, then PREFIX will have no effect. The default value for PREFIX is
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/scripts/ |
A D | pnglibconf.dfa | 175 # Note that PNG_USER_CONFIG only has an effect when building 219 # effect as well as applying NEON optimizations to the rest of the 246 # effect as well as applying VSX optimizations to the rest of the
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoawindow.m | 835 doesn't take effect when leaving fullscreen, but introduces bug 3809, 1735 /* makeKeyAndOrderFront: has the side-effect of deminiaturizing and showing 2071 take effect properly (e.g. setting the window size, etc.)
|
/AliOS-Things-master/components/SDL2/src/gfx/Docs/ |
A D | html.doxyfile | 410 # This option has no effect if EXTRACT_ALL is enabled. 417 # overviews. This option has no effect if EXTRACT_ALL is enabled. 815 # using *.ext= (so without naming a filter). This option only has effect when 1207 # in the HTML output before the changes have effect. 1640 # have no effect if this option is set to NO (the default)
|