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
548548 this, &Application::checkSkeleton, Qt::QueuedConnection);
549549
550550 // Setup the userInputMapper with the actions
551− _userInputMapper.assignDefaulActionUnitScales();
552551 // Setup the keyboardMouseDevice and the user input mapper with the default bindings
553552 _keyboardMouseDevice.registerToUserInputMapper(_userInputMapper);
554553 _keyboardMouseDevice.assignDefaultInputMapping(_userInputMapper);
@@ -2395,7 +2394,7 @@ void Application::update(float deltaTime) { · 1840 unmodified lines
23952394 }
23962395
23972396 _userInputMapper.update(deltaTime);
2398− _keyboardMouseDevice.resetDeltas(); // Probably should be a update call , the place where the deltas are cleaned for th enew loop
2397+ _keyboardMouseDevice.update();
23992398
24002399 // Dispatch input events
24012400 _controllerScriptingInterface.updateInputControllers();