History

FINe tune the scales for the Mac Book

samcake committed 11 years ago

Commit 8e65ce31 parent 116e29a3 files · +79 −66Browse files

Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Application.cpp+1−2
@@ -548,7 +548,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 547 unmodified lines
548 this, &Application::checkSkeleton, Qt::QueuedConnection);548 this, &Application::checkSkeleton, Qt::QueuedConnection);
549 549
550 // Setup the userInputMapper with the actions550 // Setup the userInputMapper with the actions
551 _userInputMapper.assignDefaulActionUnitScales();
552 // Setup the keyboardMouseDevice and the user input mapper with the default bindings 551 // Setup the keyboardMouseDevice and the user input mapper with the default bindings
553 _keyboardMouseDevice.registerToUserInputMapper(_userInputMapper);552 _keyboardMouseDevice.registerToUserInputMapper(_userInputMapper);
554 _keyboardMouseDevice.assignDefaultInputMapping(_userInputMapper);553 _keyboardMouseDevice.assignDefaultInputMapping(_userInputMapper);
@@ -2395,7 +2394,7 @@ void Application::update(float deltaTime) { · 1840 unmodified lines
2395 }2394 }
2396 2395
2397 _userInputMapper.update(deltaTime);2396 _userInputMapper.update(deltaTime);
2398 _keyboardMouseDevice.resetDeltas(); // Probably should be a update call , the place where the deltas are cleaned for th enew loop2397 _keyboardMouseDevice.update();
2399 2398
2400 // Dispatch input events2399 // Dispatch input events
2401 _controllerScriptingInterface.updateInputControllers();2400 _controllerScriptingInterface.updateInputControllers();