Batch axis events all the way into ControlMapper

This commit is contained in:
Henrik Rydgård committed 2023-09-29 11:14:19 +02:00
1 parent b3a2b7a35c
commit ee93e4a2ca
9 files changed
+37 -33

No files matched your search

+1 -4
View File
@@ -119,10 +119,7 @@ bool ScreenManager::key(const KeyInput &key) {
void ScreenManager::axis(const AxisInput *axes, size_t count) {
std::lock_guard<std::recursive_mutex> guard(inputLock_);
for (size_t i = 0; i < count; i++) {
const AxisInput &axis = axes[i];
stack_.back().screen->UnsyncAxis(axis);
}
stack_.back().screen->UnsyncAxis(axes, count);
}
void ScreenManager::deviceLost() {