mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02:00
lost change
This commit is contained in:
parent
6542604d13
commit
8928854820
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ void TouchscreenDevice::pluginUpdate(float deltaTime, const controller::InputCal
|
||||||
auto userInputMapper = DependencyManager::get<controller::UserInputMapper>();
|
auto userInputMapper = DependencyManager::get<controller::UserInputMapper>();
|
||||||
userInputMapper->withLock([&, this]() {
|
userInputMapper->withLock([&, this]() {
|
||||||
_inputDevice->update(deltaTime, inputCalibrationData);
|
_inputDevice->update(deltaTime, inputCalibrationData);
|
||||||
|
});
|
||||||
|
|
||||||
// at DPI 100 use these arbitrary values to divide dragging distance
|
// at DPI 100 use these arbitrary values to divide dragging distance
|
||||||
static const float DPI_SCALE_X = glm::clamp((float)(qApp->primaryScreen()->physicalDotsPerInchX() / 100.0), 1.0f, 10.0f)
|
static const float DPI_SCALE_X = glm::clamp((float)(qApp->primaryScreen()->physicalDotsPerInchX() / 100.0), 1.0f, 10.0f)
|
||||||
|
|
Loading…
Reference in a new issue