mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2025-10-29 11:48:42 +00:00
18 lines
528 B
C++
18 lines
528 B
C++
#pragma once
|
|
|
|
#include <hyprland/src/managers/input/trackpad/gestures/ITrackpadGesture.hpp>
|
|
|
|
class CExpoGesture : public ITrackpadGesture {
|
|
public:
|
|
CExpoGesture() = default;
|
|
virtual ~CExpoGesture() = default;
|
|
|
|
virtual void begin(const ITrackpadGesture::STrackpadGestureBegin& e);
|
|
virtual void update(const ITrackpadGesture::STrackpadGestureUpdate& e);
|
|
virtual void end(const ITrackpadGesture::STrackpadGestureEnd& e);
|
|
|
|
private:
|
|
float m_lastDelta = 0.F;
|
|
bool m_firstUpdate = false;
|
|
};
|