Home
last modified time | relevance | path

Searched refs:sdl_joystick (Results 1 – 25 of 31) sorted by relevance

12

/dports/emulators/citra/citra-ac98458e0/src/input_common/sdl/
H A Dsdl_impl.cpp209 return sdl_joystick.get(); in GetSDLJoystick()
230 std::unique_ptr<SDL_Joystick, SDLJoystickDeleter> sdl_joystick; member in InputCommon::SDL::SDLJoystick
311 auto sdl_joystick = SDL_JoystickFromInstanceID(sdl_id); in GetSDLJoystickBySDLID() local
312 const std::string guid = GetGUID(sdl_joystick); in GetSDLJoystickBySDLID()
333 (*nullptr_it)->SetSDLJoystick(sdl_joystick); in GetSDLJoystickBySDLID()
464 SDL_Joystick* sdl_joystick = SDL_JoystickOpen(joystick_index); in InitJoystick() local
465 if (!sdl_joystick) { in InitJoystick()
470 const std::string guid = GetGUID(sdl_joystick); in InitJoystick()
483 (*it)->SetSDLJoystick(sdl_joystick); in InitJoystick()
527 void SDLState::CloseJoystick(SDL_Joystick* sdl_joystick) { in CloseJoystick() argument
[all …]
H A Dsdl_impl.h58 void CloseJoystick(SDL_Joystick* sdl_joystick);
/dports/emulators/citra-qt5/citra-ac98458e0/src/input_common/sdl/
H A Dsdl_impl.cpp209 return sdl_joystick.get(); in GetSDLJoystick()
230 std::unique_ptr<SDL_Joystick, SDLJoystickDeleter> sdl_joystick; member in InputCommon::SDL::SDLJoystick
311 auto sdl_joystick = SDL_JoystickFromInstanceID(sdl_id); in GetSDLJoystickBySDLID() local
312 const std::string guid = GetGUID(sdl_joystick); in GetSDLJoystickBySDLID()
333 (*nullptr_it)->SetSDLJoystick(sdl_joystick); in GetSDLJoystickBySDLID()
464 SDL_Joystick* sdl_joystick = SDL_JoystickOpen(joystick_index); in InitJoystick() local
465 if (!sdl_joystick) { in InitJoystick()
470 const std::string guid = GetGUID(sdl_joystick); in InitJoystick()
483 (*it)->SetSDLJoystick(sdl_joystick); in InitJoystick()
527 void SDLState::CloseJoystick(SDL_Joystick* sdl_joystick) { in CloseJoystick() argument
[all …]
H A Dsdl_impl.h58 void CloseJoystick(SDL_Joystick* sdl_joystick);
/dports/emulators/yuzu/yuzu-0b47f7a46/src/input_common/sdl/
H A Dsdl_impl.cpp86 } else if (sdl_joystick) { in RumblePlay()
138 return sdl_joystick.get(); in GetSDLJoystick()
146 sdl_joystick.reset(joystick); in SetSDLJoystick()
186 auto sdl_joystick = SDL_JoystickFromInstanceID(sdl_id); in GetSDLJoystickBySDLID() local
187 const std::string guid = GetGUID(sdl_joystick); in GetSDLJoystickBySDLID()
209 SDL_Joystick* sdl_joystick = SDL_JoystickOpen(joystick_index); in InitJoystick() local
216 if (!sdl_joystick) { in InitJoystick()
221 const std::string guid = GetGUID(sdl_joystick); in InitJoystick()
236 (*joystick_it)->SetSDLJoystick(sdl_joystick, sdl_gamecontroller); in InitJoystick()
245 void SDLState::CloseJoystick(SDL_Joystick* sdl_joystick) { in CloseJoystick() argument
[all …]
H A Dsdl_impl.h62 void CloseJoystick(SDL_Joystick* sdl_joystick);
/dports/games/trigger-rally/trigger-rally-0.6.6.1/src/PEngine/
H A Dapp.cpp338 sdl_joy[i].sdl_joystick = SDL_JoystickOpen(i); in run()
339 if (sdl_joy[i].sdl_joystick == nullptr) { in run()
349 sdl_joy[i].name = SDL_JoystickName(sdl_joy[i].sdl_joystick); in run()
350 sdl_joy[i].axis.resize(SDL_JoystickNumAxes(sdl_joy[i].sdl_joystick)); in run()
352 … sdl_joy[i].axis[j] = ((float)SDL_JoystickGetAxis(sdl_joy[i].sdl_joystick, j) + 0.5f) / 32767.5f; in run()
353 sdl_joy[i].button.resize(SDL_JoystickNumButtons(sdl_joy[i].sdl_joystick)); in run()
355 sdl_joy[i].button[j] = (SDL_JoystickGetButton(sdl_joy[i].sdl_joystick, j) != 0); in run()
356 sdl_joy[i].hat.resize(SDL_JoystickNumHats(sdl_joy[i].sdl_joystick)); in run()
358 Uint8 state = SDL_JoystickGetHat(sdl_joy[i].sdl_joystick, j); in run()
/dports/games/devilutionX/devilutionX-1.2.1/SourceX/controls/devices/
H A Dgame_controller.cpp164 SDL_Joystick *const sdl_joystick = SDL_GameControllerGetJoystick(result.sdl_game_controller_); in Add() local
165 result.instance_id_ = SDL_JoystickInstanceID(sdl_joystick); in Add()
168 const SDL_JoystickGUID guid = SDL_JoystickGetGUID(sdl_joystick); in Add()
/dports/games/sdl_scavenger/sdlscav-145/windows/sdlscav_vc6/
H A Dsdlscav_vc6.dep17 "..\..\..\sdl-1.2.14\include\sdl_joystick.h"\
54 "..\..\..\sdl-1.2.14\include\sdl_joystick.h"\
91 "..\..\..\sdl-1.2.14\include\sdl_joystick.h"\
128 "..\..\..\sdl-1.2.14\include\sdl_joystick.h"\
165 "..\..\..\sdl-1.2.14\include\sdl_joystick.h"\
/dports/emulators/aranym/aranym-1.1.0/src/include/
H A Dinput.h39 extern SDL_Joystick *sdl_joystick;
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/src/
H A Dengine.cpp53 static SDL_Joystick *sdl_joystick = NULL; variable
233 if(sdl_joystick) in Engine_Shutdown()
235 SDL_JoystickClose(sdl_joystick); in Engine_Shutdown()
236 sdl_joystick = NULL; in Engine_Shutdown()
479 sdl_joystick = SDL_JoystickOpen(control_mapper.joy_number); in Engine_InitSDLSubsystems()
481 if(!sdl_joystick) in Engine_InitSDLSubsystems()
489 sdl_haptic = SDL_HapticOpenFromJoystick(sdl_joystick); in Engine_InitSDLSubsystems()
695 if(sdl_joystick) in Engine_PollSDLEvents()
702 if(sdl_joystick) in Engine_PollSDLEvents()
711 if(sdl_joystick) in Engine_PollSDLEvents()
/dports/games/xblast/xblast-2.10.4/
H A DMakefile.am8 sdl_socket.c sdl_joystick.c sdl_socket.h sdl_sprite.h sdl_joystick.h\
H A DMakefile.in105 sdl_keysym.c sdl_socket.c sdl_joystick.c sdl_socket.h \
106 sdl_joystick.h sdl_sound.c x11_common.c x11_event.c x11_atom.c \
118 @SDL_TRUE@ sdl_socket.$(OBJEXT) sdl_joystick.$(OBJEXT) \
/dports/games/xblast/xblast-2.10.4/po/
H A DPOTFILES.in182 sdl_joystick.c
183 sdl_joystick.h
/dports/emulators/dosbox/dosbox-0.74-3/src/gui/
H A Dsdl_mapper.cpp608 sdl_joystick=NULL; in CStickBindGroup()
639 sdl_joystick=SDL_JoystickOpen(_stick); in CStickBindGroup()
640 if (sdl_joystick==NULL) { in CStickBindGroup()
645 axes=SDL_JoystickNumAxes(sdl_joystick); in CStickBindGroup()
646 buttons=SDL_JoystickNumButtons(sdl_joystick); in CStickBindGroup()
647 hats=SDL_JoystickNumHats(sdl_joystick); in CStickBindGroup()
662 SDL_JoystickClose(sdl_joystick); in ~CStickBindGroup()
763 if (GCC_UNLIKELY(sdl_joystick==NULL)) return; in ActivateJoystickBoundEvents()
771 if (SDL_JoystickGetButton(sdl_joystick,i)) in ActivateJoystickBoundEvents()
816 Uint8 chat_state=SDL_JoystickGetHat(sdl_joystick,i); in ActivateJoystickBoundEvents()
[all …]
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/gui/
H A Dsdl_mapper.cpp578 sdl_joystick=SDL_JoystickOpen(_stick); in CStickBindGroup()
579 if (sdl_joystick==NULL) { in CStickBindGroup()
584 const int sdl_axes = SDL_JoystickNumAxes(sdl_joystick); in CStickBindGroup()
589 const int sdl_hats = SDL_JoystickNumHats(sdl_joystick); in CStickBindGroup()
610 SDL_JoystickClose(sdl_joystick); in ~CStickBindGroup()
611 sdl_joystick = nullptr; in ~CStickBindGroup()
736 if (GCC_UNLIKELY(sdl_joystick==NULL)) return; in ActivateJoystickBoundEvents()
742 if (SDL_JoystickGetButton(sdl_joystick, i)) in ActivateJoystickBoundEvents()
754 Sint16 caxis_pos = SDL_JoystickGetAxis(sdl_joystick, i); in ActivateJoystickBoundEvents()
859 if (sdl_joystick) in BindStart()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/arch/android/AnVICE/jni/locnet_al/
H A Dmissing.cpp353 int sdl_joystick; variable
357 return (SDL_Joystick *)&sdl_joystick; in SDL_JoystickOpen()
/dports/emulators/vice/vice-3.5/src/arch/android/AnVICE/jni/locnet_al/
H A Dmissing.cpp353 int sdl_joystick; variable
357 return (SDL_Joystick *)&sdl_joystick; in SDL_JoystickOpen()
/dports/games/memonix/MemonixSourceCode/CODEBLOCKS_WIN/
H A Dsdlapp.depend281 1090177506 d:\sdl\sdl-1.2.9\include\sdl\sdl_joystick.h
427 1090177506 d:\sdl\sdl-1.2.9\include\sdl_joystick.h
686 1090177506 d:\sdl\sdl_gcc\include\sdl_joystick.h
807 1090177506 d:\sdl\sdl_gcc\\sdl\sdl_joystick.h
947 1090177506 d:\sdl\sdl_gcc\sdl\sdl_joystick.h
/dports/games/trigger-rally/trigger-rally-0.6.6.1/src/include/
H A Dapp.h21 SDL_Joystick *sdl_joystick; member
/dports/games/sdl-ball/SDL-Ball_src/win32/
H A Dsdl-ball.depend195 1207292647 c:\media\files\devel\sdl-ball\win32\include\sdl\sdl_joystick.h
467 1257227933 c:\work\sdl-ball\win32\include\sdl\sdl_joystick.h
/dports/emulators/emu64/emu64-5.0.19/src/
H A Dc64_class.h432 SDL_Joystick *sdl_joystick[MAX_SDL_JOYSTICK_NUM]; variable
/dports/games/rnd_jue/rnd_jue-3.3.0.0/src/libgame/
H A Dsdl.c1871 static SDL_Joystick *sdl_joystick[MAX_PLAYERS] = { NULL, NULL, NULL, NULL }; variable
1880 return ((sdl_joystick[nr] = SDL_JoystickOpen(nr)) == NULL ? FALSE : TRUE); in SDLOpenJoystick()
1888 SDL_JoystickClose(sdl_joystick[nr]); in SDLCloseJoystick()
/dports/games/rocksndiamonds/rnd_jue-3.3.0.0/src/libgame/
H A Dsdl.c1871 static SDL_Joystick *sdl_joystick[MAX_PLAYERS] = { NULL, NULL, NULL, NULL }; variable
1880 return ((sdl_joystick[nr] = SDL_JoystickOpen(nr)) == NULL ? FALSE : TRUE); in SDLOpenJoystick()
1888 SDL_JoystickClose(sdl_joystick[nr]); in SDLCloseJoystick()
/dports/games/rocksndiamonds/rocksndiamonds-3.3.1.2/src/libgame/
H A Dsdl.c1881 static SDL_Joystick *sdl_joystick[MAX_PLAYERS] = { NULL, NULL, NULL, NULL }; variable
1890 return ((sdl_joystick[nr] = SDL_JoystickOpen(nr)) == NULL ? FALSE : TRUE); in SDLOpenJoystick()
1898 SDL_JoystickClose(sdl_joystick[nr]); in SDLCloseJoystick()

12