Added controller support
This commit is contained in:
parent
e5cc1565fd
commit
f4e6198a99
15 changed files with 310 additions and 6 deletions
|
@ -5,6 +5,8 @@
|
|||
#include <imgui/backends/imgui_impl_opengl3.h>
|
||||
#include <imgui/imgui.h>
|
||||
|
||||
#include "Input.hpp"
|
||||
|
||||
Window::Window(uint16_t width, uint16_t height, const std::string& title) :
|
||||
handle(nullptr)
|
||||
{
|
||||
|
@ -17,6 +19,7 @@ Window::Window(uint16_t width, uint16_t height, const std::string& title) :
|
|||
}
|
||||
|
||||
glfwMakeContextCurrent(handle);
|
||||
Input::SetWindow(this);
|
||||
}
|
||||
|
||||
Window::~Window()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue