kwin/src/placeholderinputeventfilter.cpp

46 lines
852 B
C++
Raw Normal View History

/*
KWin - the KDE window manager
This file is part of the KDE project.
SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "placeholderinputeventfilter.h"
namespace KWin
{
bool PlaceholderInputEventFilter::pointerEvent(MouseEvent *event, quint32 nativeButton)
{
return true;
}
bool PlaceholderInputEventFilter::wheelEvent(WheelEvent *event)
{
return true;
}
bool PlaceholderInputEventFilter::keyEvent(QKeyEvent *event)
{
return true;
}
bool PlaceholderInputEventFilter::touchDown(qint32 id, const QPointF &pos, quint32 time)
{
return true;
}
bool PlaceholderInputEventFilter::touchMotion(qint32 id, const QPointF &pos, quint32 time)
{
return true;
}
bool PlaceholderInputEventFilter::touchUp(qint32 id, quint32 time)
{
return true;
}
}