#pragma once #include "ITouch.hpp" class CTouchDevice : public ITouch { public: static SP create(SP touch); virtual bool isVirtual(); virtual SP aq(); private: CTouchDevice(SP touch); WP touch; struct { CHyprSignalListener destroy; CHyprSignalListener down; CHyprSignalListener up; CHyprSignalListener motion; CHyprSignalListener cancel; CHyprSignalListener frame; } listeners; };