Changes to remove some warnings. Changes based on platform testing.

This commit is contained in:
Travis Nickles
2015-08-05 02:39:32 -05:00
parent 6fcdbe70e0
commit fd1b06ff16
14 changed files with 466 additions and 173 deletions

View File

@@ -376,7 +376,7 @@ void InputDaemon::removeDevice(InputDevice *device)
{
if (device)
{
PadderCommon::editingLock.lockForRead();
/*PadderCommon::editingLock.lockForRead();
bool isEditing = PadderCommon::editingBindings;
PadderCommon::editingLock.unlock();
@@ -387,6 +387,7 @@ void InputDaemon::removeDevice(InputDevice *device)
PadderCommon::waitThisOut.wakeAll();
dismutex->unlock();
}
*/
SDL_JoystickID deviceID = device->getSDLJoystickID();