Home
last modified time | relevance | path

Searched refs:SDL_JOYSTICK_AXIS_MAX (Results 1 – 25 of 55) sorted by relevance

123

/dports/devel/sdl20/SDL2-2.0.18/test/
H A Dcontrollermap.c208 if (nValue > SDL_JOYSTICK_AXIS_MAX/2) { in StandardizeAxisValue()
209 return SDL_JOYSTICK_AXIS_MAX; in StandardizeAxisValue()
483 … const int MAX_ALLOWED_JITTER = SDL_JOYSTICK_AXIS_MAX / 80; /* ShanWan PS3 controller needed 96 */ in WatchJoystick()
691 …if (pBinding->value.axis.axis_min == 0 && pBinding->value.axis.axis_max == SDL_JOYSTICK_AXIS_MAX) { in WatchJoystick()
H A Dtestgamecontroller.c250 const Sint16 half_axis = (Sint16)SDL_ceil(SDL_JOYSTICK_AXIS_MAX / 2.0f); in ConvertAxisToRumble()
363 …if (event.caxis.value <= (-SDL_JOYSTICK_AXIS_MAX / 2) || event.caxis.value >= (SDL_JOYSTICK_AXIS_M… in loop()
/dports/x11/controllermap/SDL2-2.0.18/test/
H A Dcontrollermap.c208 if (nValue > SDL_JOYSTICK_AXIS_MAX/2) { in StandardizeAxisValue()
209 return SDL_JOYSTICK_AXIS_MAX; in StandardizeAxisValue()
483 … const int MAX_ALLOWED_JITTER = SDL_JOYSTICK_AXIS_MAX / 80; /* ShanWan PS3 controller needed 96 */ in WatchJoystick()
691 …if (pBinding->value.axis.axis_min == 0 && pBinding->value.axis.axis_max == SDL_JOYSTICK_AXIS_MAX) { in WatchJoystick()
H A Dtestgamecontroller.c250 const Sint16 half_axis = (Sint16)SDL_ceil(SDL_JOYSTICK_AXIS_MAX / 2.0f); in ConvertAxisToRumble()
363 …if (event.caxis.value <= (-SDL_JOYSTICK_AXIS_MAX / 2) || event.caxis.value >= (SDL_JOYSTICK_AXIS_M… in loop()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/dependencies/lib-SDL2-2.0.8-mingw/test/
H A Dcontrollermap.c190 if (nValue > SDL_JOYSTICK_AXIS_MAX/2) { in StandardizeAxisValue()
191 return SDL_JOYSTICK_AXIS_MAX; in StandardizeAxisValue()
669 …if (pBinding->value.axis.axis_min == 0 && pBinding->value.axis.axis_max == SDL_JOYSTICK_AXIS_MAX) { in WatchJoystick()
/dports/devel/sdl20/SDL2-2.0.18/src/joystick/os2/
H A DSDL_os2joystick.c440 …joystick->hwdata->transaxes[i].offset = ((SDL_JOYSTICK_AXIS_MAX + SDL_JOYSTICK_AXIS_MIN)>>1) - SYS… in OS2_JoystickOpen()
442 …joystick->hwdata->transaxes[i].scale2 = (float)SDL_abs((SDL_JOYSTICK_AXIS_MAX/SYS_JoyData[index].a… in OS2_JoystickOpen()
559 if (value < 0) value = SDL_JOYSTICK_AXIS_MAX; in OS2_JoystickUpdate()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/SDL2/test/
H A Dcontrollermap.c190 if (nValue > SDL_JOYSTICK_AXIS_MAX/2) { in StandardizeAxisValue()
191 return SDL_JOYSTICK_AXIS_MAX; in StandardizeAxisValue()
669 …if (pBinding->value.axis.axis_min == 0 && pBinding->value.axis.axis_max == SDL_JOYSTICK_AXIS_MAX) { in WatchJoystick()
/dports/x11/controllermap/SDL2-2.0.18/src/joystick/os2/
H A DSDL_os2joystick.c440 …joystick->hwdata->transaxes[i].offset = ((SDL_JOYSTICK_AXIS_MAX + SDL_JOYSTICK_AXIS_MIN)>>1) - SYS… in OS2_JoystickOpen()
442 …joystick->hwdata->transaxes[i].scale2 = (float)SDL_abs((SDL_JOYSTICK_AXIS_MAX/SYS_JoyData[index].a… in OS2_JoystickOpen()
559 if (value < 0) value = SDL_JOYSTICK_AXIS_MAX; in OS2_JoystickUpdate()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/dependencies/lib-SDL2-2.0.8-macos/SDL2.framework/Versions/A/Headers/
H A DSDL_joystick.h288 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/dependencies/lib-SDL2-2.0.8-mingw/i686-w64-mingw32/include/SDL2/
H A DSDL_joystick.h288 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/dependencies/lib-SDL2-2.0.8-mingw/x86_64-w64-mingw32/include/SDL2/
H A DSDL_joystick.h288 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/dependencies/lib-SDL2-2.0.8-VC/include/
H A DSDL_joystick.h288 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/libraries/win32/mingw32/include/SDL2/
H A DSDL_joystick.h288 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/include/
H A DSDL_joystick.h288 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/exult/exult-snapshot-v1.7.0.20211128/ios/
H A DGamePadView.m175 const Sint16 joy_axis_x_raw = (Sint16)((dx / vjoy_radius) * SDL_JOYSTICK_AXIS_MAX);
181 const Sint16 joy_axis_y_raw = (Sint16)((dy / vjoy_radius) * SDL_JOYSTICK_AXIS_MAX);
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/sdl2-sys-0.32.6/SDL2-2.0.9/include/
H A DSDL_joystick.h301 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/iortcw/iortcw-1.51c/SP/code/SDL2/include/
H A DSDL_joystick.h301 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libsdl/include/
H A DSDL_joystick.h301 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/SDL2/i686-w64-mingw32/include/SDL2/
H A DSDL_joystick.h301 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/SDL2/include/
H A DSDL_joystick.h301 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/NBlood/NBlood-a1689a4/platform/Apple/include/SDL2/
H A DSDL_joystick.h301 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/SDL2/x86_64-w64-mingw32/include/SDL2/
H A DSDL_joystick.h301 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/openbor/openbor-3caaddd5/engine/android/app/jni/openbor/include/sdl/
H A DSDL_joystick.h301 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/games/dose-response/dose-response-179c326/cargo-crates/sdl2-sys-0.32.6/SDL2-2.0.9/include/
H A DSDL_joystick.h301 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/dports/audio/protracker/pt2-clone-1.37/pt_pal_editor/release/macos/pt_pal_editor-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/
H A DSDL_joystick.h301 #define SDL_JOYSTICK_AXIS_MAX 32767 macro

123