summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-16 21:37:21 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-16 21:37:21 +0100
commitffd309ca2adc313f2aaaea08b4cac9553982b48c (patch)
treea7c1a0a6df56069bef6868de5ef5a9531dd2386a /src/events
parentde4c836e97a5798a09bcf96fbdf4cbaf29b0dc5e (diff)
some basic startup code
Diffstat (limited to 'src/events')
-rw-r--r--src/events/Events.cpp5
-rw-r--r--src/events/Events.hpp25
2 files changed, 30 insertions, 0 deletions
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