summaryrefslogtreecommitdiffstats
path: root/src/core/hid/input_converter.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-11-05 17:39:03 +0100
committergerman77 <juangerman-13@hotmail.com>2022-11-19 15:44:33 +0100
commit38c48cf8d896f28f7424b28265110c34f69d2369 (patch)
tree5777e9fafc1ec4182068daa8d7a0ab9630d1ee40 /src/core/hid/input_converter.cpp
parentMerge pull request #9226 from Kelebek1/regs_regression (diff)
downloadyuzu-38c48cf8d896f28f7424b28265110c34f69d2369.tar
yuzu-38c48cf8d896f28f7424b28265110c34f69d2369.tar.gz
yuzu-38c48cf8d896f28f7424b28265110c34f69d2369.tar.bz2
yuzu-38c48cf8d896f28f7424b28265110c34f69d2369.tar.lz
yuzu-38c48cf8d896f28f7424b28265110c34f69d2369.tar.xz
yuzu-38c48cf8d896f28f7424b28265110c34f69d2369.tar.zst
yuzu-38c48cf8d896f28f7424b28265110c34f69d2369.zip
Diffstat (limited to 'src/core/hid/input_converter.cpp')
-rw-r--r--src/core/hid/input_converter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp
index 5d8b75b50..502692875 100644
--- a/src/core/hid/input_converter.cpp
+++ b/src/core/hid/input_converter.cpp
@@ -200,9 +200,6 @@ Common::Input::TouchStatus TransformToTouch(const Common::Input::CallbackStatus&
x = std::clamp(x, 0.0f, 1.0f);
y = std::clamp(y, 0.0f, 1.0f);
- // Limit id to maximum number of fingers
- status.id = std::clamp(status.id, 0, 16);
-
if (status.pressed.inverted) {
status.pressed.value = !status.pressed.value;
}