Adjust linked buttons. Enum MultitouchButtonType is here: https://github.com/supertuxkart/stk-code/blob/master/src/input/multitouch_device.hpp
This commit is contained in:
parent
fab7915011
commit
6573ebe09e
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user