|
| ButtonRebindsFilter () |
|
bool | pointerEvent (KWin::MouseEvent *event, quint32 nativeButton) override |
|
bool | tabletPadButtonEvent (uint button, bool pressed, const KWin::TabletPadId &tabletPadId, std::chrono::microseconds time) override |
|
bool | tabletToolButtonEvent (uint button, bool pressed, const KWin::TabletToolId &tabletToolId, std::chrono::microseconds time) override |
|
| Plugin () |
|
| InputEventFilter () |
|
virtual | ~InputEventFilter () |
|
virtual bool | pointerFrame () |
|
virtual bool | wheelEvent (WheelEvent *event) |
|
virtual bool | keyEvent (KeyEvent *event) |
|
virtual bool | touchDown (qint32 id, const QPointF &pos, std::chrono::microseconds time) |
|
virtual bool | touchMotion (qint32 id, const QPointF &pos, std::chrono::microseconds time) |
|
virtual bool | touchUp (qint32 id, std::chrono::microseconds time) |
|
virtual bool | touchCancel () |
|
virtual bool | touchFrame () |
|
virtual bool | pinchGestureBegin (int fingerCount, std::chrono::microseconds time) |
|
virtual bool | pinchGestureUpdate (qreal scale, qreal angleDelta, const QPointF &delta, std::chrono::microseconds time) |
|
virtual bool | pinchGestureEnd (std::chrono::microseconds time) |
|
virtual bool | pinchGestureCancelled (std::chrono::microseconds time) |
|
virtual bool | swipeGestureBegin (int fingerCount, std::chrono::microseconds time) |
|
virtual bool | swipeGestureUpdate (const QPointF &delta, std::chrono::microseconds time) |
|
virtual bool | swipeGestureEnd (std::chrono::microseconds time) |
|
virtual bool | swipeGestureCancelled (std::chrono::microseconds time) |
|
virtual bool | holdGestureBegin (int fingerCount, std::chrono::microseconds time) |
|
virtual bool | holdGestureEnd (std::chrono::microseconds time) |
|
virtual bool | holdGestureCancelled (std::chrono::microseconds time) |
|
virtual bool | switchEvent (SwitchEvent *event) |
|
virtual bool | tabletToolEvent (TabletEvent *event) |
|
virtual bool | tabletPadStripEvent (int number, int position, bool isFinger, const TabletPadId &tabletPadId, std::chrono::microseconds time) |
|
virtual bool | tabletPadRingEvent (int number, int position, bool isFinger, const TabletPadId &tabletPadId, std::chrono::microseconds time) |
|
Definition at line 52 of file buttonrebindsfilter.h.
bool ButtonRebindsFilter::pointerEvent |
( |
KWin::MouseEvent * | event, |
|
|
quint32 | nativeButton ) |
|
overridevirtual |
Event filter for pointer events which can be described by a QMouseEvent.
Please note that the button translation in QMouseEvent cannot cover all possible buttons. Because of that also the nativeButton
code is passed through the filter. For internal areas it's fine to use event
, but for passing to client windows the nativeButton
should be used.
- Parameters
-
event | The event information about the move or button press/release |
nativeButton | The native key code of the button, for move events 0 |
- Returns
true
to stop further event processing, false
to pass to next filter
Reimplemented from KWin::InputEventFilter.
Definition at line 196 of file buttonrebindsfilter.cpp.