Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
InputsInspectorPanel.cpp
Go to the documentation of this file.
1//#ifdef _WIN32
2//#include "PanelManager.h"
3//#include "system/JoystickManager.h"
4//#include <windows.h>
5//#include <string>
6//#include "InputsManager.h"
7//
8//// USELESS // Helper to build list text of connected joysticks
9////static std::string BuildJoystickListText()
10////{
11//// auto ids = JoystickManager::Get().GetConnectedJoysticks();
12//// std::string s;
13//// s += "Connected Joysticks:\r\n";
14//// for (auto id : ids)
15//// {
16//// bool connected = JoystickManager::Get().IsJoystickConnected(id);
17//// s += "ID:" + std::to_string(id) + (connected ? " (connected)" : " (disconnected)") + "\r\n";
18//// }
19//// return s;
20////}
21//
22////// Called by PanelManager to refresh the content of inputs inspector
23////void UpdateInputsInspectorUI(HWND hwndEdit)
24////{
25//// if (!hwndEdit) return;
26//// //std::string text = BuildJoystickListText();
27//// std::string text = InputsManager::Get().GetDevicesStatusUpdate();
28//// SetWindowTextA(hwndEdit, text.c_str());
29////}
30//#endif