From 6573ebe09e335a39d65731b7551aba9f0efb4d23 Mon Sep 17 00:00:00 2001 From: Sonter <108224581+S0nter@users.noreply.github.com> Date: Wed, 17 Jan 2024 20:12:55 +0300 Subject: [PATCH] Fix #4960 (#5003) Adjust linked buttons. Enum MultitouchButtonType is here: https://github.com/supertuxkart/stk-code/blob/master/src/input/multitouch_device.hpp --- src/input/multitouch_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/multitouch_device.cpp b/src/input/multitouch_device.cpp index 95317d369..779031bb3 100644 --- a/src/input/multitouch_device.cpp +++ b/src/input/multitouch_device.cpp @@ -266,7 +266,7 @@ void MultitouchDevice::updateDeviceState(unsigned int event_id) if (button == NULL) return false; return button->type >= BUTTON_FIRE && - button->type <= BUTTON_RESCUE; + button->type <= BUTTON_LOOK_BACKWARDS; }; const MultitouchEvent& event = m_events[event_id];