mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Gamepads (minor change) > Fix to last commit, LiveUpdate related
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4547 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d47e4827f7
commit
2d064262ce
4 changed files with 10 additions and 16 deletions
|
@ -59,6 +59,7 @@ bool LocalSearchDevices(std::vector<InputCommon::CONTROLLER_INFO> &_joyinfo, int
|
|||
|
||||
bool LocalSearchDevicesReset(std::vector<InputCommon::CONTROLLER_INFO> &_joyinfo, int &_NumPads)
|
||||
{
|
||||
PanicAlert("LocalSearchDevicesReset");
|
||||
DEBUG_LOG(CONSOLE, "LocalSearchDevicesReset");
|
||||
|
||||
// Turn off device polling while resetting
|
||||
|
@ -130,17 +131,13 @@ bool IsConnected(std::string Name)
|
|||
// ----------------
|
||||
bool IsPolling()
|
||||
{
|
||||
return true;
|
||||
/*
|
||||
if (!SDLPolling || SDL_JoystickEventState(SDL_QUERY) == SDL_ENABLE)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
*/
|
||||
}
|
||||
void EnablePolling(bool Enable)
|
||||
{
|
||||
/*
|
||||
if (Enable)
|
||||
{
|
||||
SDLPolling = true;
|
||||
|
@ -151,7 +148,6 @@ void EnablePolling(bool Enable)
|
|||
SDLPolling = false;
|
||||
SDL_JoystickEventState(SDL_ENABLE);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
// ID to Name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue