Skip to content

Commit

Permalink
Remove no longer needed initialization call
Browse files Browse the repository at this point in the history
  • Loading branch information
zzattack committed Feb 9, 2015
1 parent 2d74f06 commit 246e95a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions xbmc/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -911,9 +911,6 @@ bool CApplication::CreateGUI()
if (!CButtonTranslator::GetInstance().Load())
return false;

//Initialize sdl joystick if available
CInputManager::GetInstance().InitializeInputs();

RESOLUTION_INFO info = g_graphicsContext.GetResInfo();
CLog::Log(LOGINFO, "GUI format %ix%i, Display %s",
info.iWidth,
Expand Down
8 changes: 0 additions & 8 deletions xbmc/input/InputManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,6 @@ CInputManager& CInputManager::GetInstance()
return inputManager;
}

void CInputManager::InitializeInputs()
{
#ifdef HAS_SDL_JOYSTICK
// Pass the mapping of axis to triggers to m_Joystick
m_Joystick.LoadAxesConfigs(CButtonTranslator::GetInstance().GetAxesConfigs());
#endif
}

void CInputManager::ReInitializeJoystick()
{
#ifdef HAS_SDL_JOYSTICK
Expand Down
5 changes: 0 additions & 5 deletions xbmc/input/InputManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ class CInputManager
*/
bool ProcessPeripherals(float frameTime);

/*!
* \brief Call once during application startup to initialize peripherals that need it
*/
void InitializeInputs();

void SetEnabledJoystick(bool enabled = true);

void ReInitializeJoystick();
Expand Down

0 comments on commit 246e95a

Please sign in to comment.