From ffd309ca2adc313f2aaaea08b4cac9553982b48c Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 16 Mar 2022 21:37:21 +0100 Subject: some basic startup code --- src/events/Events.cpp | 5 +++++ src/events/Events.hpp | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 src/events/Events.cpp create mode 100644 src/events/Events.hpp (limited to 'src/events') diff --git a/src/events/Events.cpp b/src/events/Events.cpp new file mode 100644 index 00000000..6df4c20b --- /dev/null +++ b/src/events/Events.cpp @@ -0,0 +1,5 @@ +#include "Events.hpp" + +void Events::listener_activate(wl_listener* listener, void* data) { + +} \ No newline at end of file diff --git a/src/events/Events.hpp b/src/events/Events.hpp new file mode 100644 index 00000000..7bd24e60 --- /dev/null +++ b/src/events/Events.hpp @@ -0,0 +1,25 @@ +#pragma once +#include "../defines.hpp" + +namespace Events { + LISTENER(activate); + LISTENER(change); + LISTENER(newOutput); + LISTENER(newLayerSurface); + LISTENER(newXDGSurface); + + LISTENER(mouseMove); + LISTENER(mouseMoveAbsolute); + LISTENER(mouseButton); + LISTENER(mouseAxis); + LISTENER(mouseFrame); + LISTENER(newInput); + LISTENER(newKeyboard); + + LISTENER(requestMouse); + LISTENER(requestSetSel); + LISTENER(requestSetPrimarySel); + + LISTENER(outputMgrApply); + LISTENER(outputMgrTest); +}; \ No newline at end of file -- cgit v1.2.3