mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Removed no longer used
This commit is contained in:
@@ -237,17 +237,6 @@ bool InputSourceTouch::hasTouchInputDevice() const
|
||||
return SDL_GetNumTouchDevices() > 0;
|
||||
}
|
||||
|
||||
bool InputSourceTouch::isMouseButtonPressed(MouseButton button) const
|
||||
{
|
||||
if (state == TouchState::TAP_DOWN_LONG)
|
||||
{
|
||||
if (button == MouseButton::RIGHT)
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void InputSourceTouch::emitPanningEvent(const SDL_TouchFingerEvent & tfinger)
|
||||
{
|
||||
Point distance = convertTouchToMouse(-tfinger.dx, -tfinger.dy);
|
||||
|
||||
Reference in New Issue
Block a user