File indexing completed on 2024-11-10 04:57:47

0001 /*
0002     KWin - the KDE window manager
0003     This file is part of the KDE project.
0004 
0005     SPDX-FileCopyrightText: 2016 Martin Gräßlin <mgraesslin@kde.org>
0006 
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 #include "input_event_spy.h"
0010 #include "input.h"
0011 
0012 #include <QPointF>
0013 
0014 namespace KWin
0015 {
0016 
0017 InputEventSpy::InputEventSpy() = default;
0018 
0019 InputEventSpy::~InputEventSpy()
0020 {
0021     if (input()) {
0022         input()->uninstallInputEventSpy(this);
0023     }
0024 }
0025 
0026 void InputEventSpy::pointerEvent(MouseEvent *event)
0027 {
0028 }
0029 
0030 void InputEventSpy::wheelEvent(WheelEvent *event)
0031 {
0032 }
0033 
0034 void InputEventSpy::keyEvent(KeyEvent *event)
0035 {
0036 }
0037 
0038 void InputEventSpy::touchDown(qint32 id, const QPointF &point, std::chrono::microseconds time)
0039 {
0040 }
0041 
0042 void InputEventSpy::touchMotion(qint32 id, const QPointF &point, std::chrono::microseconds time)
0043 {
0044 }
0045 
0046 void InputEventSpy::touchUp(qint32 id, std::chrono::microseconds time)
0047 {
0048 }
0049 
0050 void InputEventSpy::pinchGestureBegin(int fingerCount, std::chrono::microseconds time)
0051 {
0052 }
0053 
0054 void InputEventSpy::pinchGestureUpdate(qreal scale, qreal angleDelta, const QPointF &delta, std::chrono::microseconds time)
0055 {
0056 }
0057 
0058 void InputEventSpy::pinchGestureEnd(std::chrono::microseconds time)
0059 {
0060 }
0061 
0062 void InputEventSpy::pinchGestureCancelled(std::chrono::microseconds time)
0063 {
0064 }
0065 
0066 void InputEventSpy::swipeGestureBegin(int fingerCount, std::chrono::microseconds time)
0067 {
0068 }
0069 
0070 void InputEventSpy::swipeGestureUpdate(const QPointF &delta, std::chrono::microseconds time)
0071 {
0072 }
0073 
0074 void InputEventSpy::swipeGestureEnd(std::chrono::microseconds time)
0075 {
0076 }
0077 
0078 void InputEventSpy::swipeGestureCancelled(std::chrono::microseconds time)
0079 {
0080 }
0081 
0082 void InputEventSpy::holdGestureBegin(int fingerCount, std::chrono::microseconds time)
0083 {
0084 }
0085 
0086 void InputEventSpy::holdGestureEnd(std::chrono::microseconds time)
0087 {
0088 }
0089 
0090 void InputEventSpy::holdGestureCancelled(std::chrono::microseconds time)
0091 {
0092 }
0093 
0094 void InputEventSpy::switchEvent(SwitchEvent *event)
0095 {
0096 }
0097 
0098 void InputEventSpy::tabletToolEvent(TabletEvent *event)
0099 {
0100 }
0101 
0102 void InputEventSpy::tabletToolButtonEvent(uint button, bool pressed, const TabletToolId &tabletToolId, std::chrono::microseconds time)
0103 {
0104 }
0105 
0106 void InputEventSpy::tabletPadButtonEvent(uint button, bool pressed, const TabletPadId &tabletPadId, std::chrono::microseconds time)
0107 {
0108 }
0109 
0110 void InputEventSpy::tabletPadStripEvent(int number, int position, bool isFinger, const TabletPadId &tabletPadId, std::chrono::microseconds time)
0111 {
0112 }
0113 
0114 void InputEventSpy::tabletPadRingEvent(int number, int position, bool isFinger, const TabletPadId &tabletPadId, std::chrono::microseconds time)
0115 {
0116 }
0117 }