From 39c14fd77527d0df18eb5ffd960b86608324f487 Mon Sep 17 00:00:00 2001 From: INeedBots Date: Sat, 2 Jan 2021 00:49:45 -0600 Subject: [PATCH] [Modules] Added XInput stub module --- src/Components/Loader.cpp | 1 + src/Components/Loader.hpp | 3 ++- src/Components/Modules/XInput.cpp | 8 ++++++++ src/Components/Modules/XInput.hpp | 13 +++++++++++++ 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 src/Components/Modules/XInput.cpp create mode 100644 src/Components/Modules/XInput.hpp diff --git a/src/Components/Loader.cpp b/src/Components/Loader.cpp index 30819a9f..a6c525f2 100644 --- a/src/Components/Loader.cpp +++ b/src/Components/Loader.cpp @@ -103,6 +103,7 @@ namespace Components Loader::Register(new StartupMessages()); Loader::Register(new Client()); + Loader::Register(new XInput()); Loader::Pregame = false; } diff --git a/src/Components/Loader.hpp b/src/Components/Loader.hpp index 589f256a..82483cd0 100644 --- a/src/Components/Loader.hpp +++ b/src/Components/Loader.hpp @@ -131,4 +131,5 @@ namespace Components #include "Modules/StartupMessages.hpp" #include "Modules/Stats.hpp" -#include "Modules/Client.hpp" \ No newline at end of file +#include "Modules/XInput.hpp" +#include "Modules/Client.hpp" diff --git a/src/Components/Modules/XInput.cpp b/src/Components/Modules/XInput.cpp new file mode 100644 index 00000000..cda6af1d --- /dev/null +++ b/src/Components/Modules/XInput.cpp @@ -0,0 +1,8 @@ +#include "STDInclude.hpp" + +namespace Components +{ + XInput::XInput() + { + } +} diff --git a/src/Components/Modules/XInput.hpp b/src/Components/Modules/XInput.hpp new file mode 100644 index 00000000..5263d6b2 --- /dev/null +++ b/src/Components/Modules/XInput.hpp @@ -0,0 +1,13 @@ +#pragma once + +namespace Components +{ + class XInput : public Component + { + public: + XInput(); + + private: + + }; +}