2022-02-21 18:12:12 +00:00
|
|
|
/*
|
|
|
|
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
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "input.h"
|
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
|
|
|
class PlaceholderInputEventFilter : public InputEventFilter
|
|
|
|
{
|
|
|
|
public:
|
2022-12-21 14:35:38 +00:00
|
|
|
bool pointerEvent(MouseEvent *event, quint32 nativeButton) override;
|
2022-12-21 14:53:11 +00:00
|
|
|
bool wheelEvent(WheelEvent *event) override;
|
2022-12-21 15:50:42 +00:00
|
|
|
bool keyEvent(KeyEvent *event) override;
|
2022-02-21 18:12:12 +00:00
|
|
|
bool touchDown(qint32 id, const QPointF &pos, quint32 time) override;
|
|
|
|
bool touchMotion(qint32 id, const QPointF &pos, quint32 time) override;
|
|
|
|
bool touchUp(qint32 id, quint32 time) override;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|