File indexing completed on 2024-10-27 08:12:15
0001 /* 0002 KWin - the KDE window manager 0003 This file is part of the KDE project. 0004 0005 SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 #pragma once 0010 0011 #include "input.h" 0012 0013 namespace KWin 0014 { 0015 0016 class PlaceholderInputEventFilter : public InputEventFilter 0017 { 0018 public: 0019 bool pointerEvent(MouseEvent *event, quint32 nativeButton) override; 0020 bool wheelEvent(WheelEvent *event) override; 0021 bool keyEvent(KeyEvent *event) override; 0022 bool touchDown(qint32 id, const QPointF &pos, std::chrono::microseconds time) override; 0023 bool touchMotion(qint32 id, const QPointF &pos, std::chrono::microseconds time) override; 0024 bool touchUp(qint32 id, std::chrono::microseconds time) override; 0025 }; 0026 0027 }