From 39663f40ef904f7970bd5ac026e90ae0df8d0745 Mon Sep 17 00:00:00 2001
From: Hartmut Seichter <hartmut@technotecture.com>
Date: Wed, 9 Jan 2019 11:34:30 +0100
Subject: [PATCH] renamed logger into debug and start of piping through the
 GLFW input system to the script system

---
 src/system/include/pw/system/input.hpp | 25 ++++++++++++++++++++
 src/system/src/input.cpp               | 32 ++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)
 create mode 100644 src/system/include/pw/system/input.hpp
 create mode 100644 src/system/src/input.cpp

diff --git a/src/system/include/pw/system/input.hpp b/src/system/include/pw/system/input.hpp
new file mode 100644
index 0000000..03c0462
--- /dev/null
+++ b/src/system/include/pw/system/input.hpp
@@ -0,0 +1,25 @@
+#ifndef PW_SYSTEM_INPUT_HPP
+#define PW_SYSTEM_INPUT_HPP
+
+#include <pw/core/globals.hpp>
+
+namespace pw {
+
+class input {
+public:
+
+    static input& get();
+
+protected:
+
+    struct impl;
+    std::unique_ptr<impl> _impl;
+
+private:
+    input();
+    ~input() = default;
+};
+
+}
+
+#endif
diff --git a/src/system/src/input.cpp b/src/system/src/input.cpp
new file mode 100644
index 0000000..b39e941
--- /dev/null
+++ b/src/system/src/input.cpp
@@ -0,0 +1,32 @@
+#include "pw/system/input.hpp"
+
+#include "GLFW/glfw3.h"
+
+namespace pw {
+
+struct input::impl {
+
+
+
+
+    GLFWwindow *_window;
+};
+
+input::input()
+    : _impl(new input::impl())
+{
+
+}
+
+
+input &input::get()
+{
+    static input instance;
+    return instance;
+}
+
+
+
+
+
+}