fix: fixed guids from Windows.Xbox.Input.idl

This commit is contained in:
CT5
2026-02-07 15:28:40 +11:00
parent 5848f20e03
commit 56197a5e53
4 changed files with 20 additions and 4 deletions

View File

@@ -258,7 +258,7 @@ namespace Windows.Xbox.Input
NavigationController();
}
[uuid(E0422A66-C480-4C70-9F99-F8371DCC3E30)]
[uuid(082e402c-07df-45e1-a5ab-a3127af197b5)]
interface IGamepad requires INavigationController
{
GamepadVibration SetVibration();
@@ -266,7 +266,7 @@ namespace Windows.Xbox.Input
RawGamepadReading GetRawCurrentReading();
}
[static_name("IGamepadStatics", AACAAAAB-AAAA-AAAA-AAAA-AFADCAAAFAAA)]
[static_name("IGamepadStatics", 8c4c1bcd-fdab-4bf8-bde9-abb2b1d6fdd3)]
runtimeclass Gamepad : [default] IGamepad
{
static Windows.Foundation.Collections.IVectorView<Gamepad> Gamepads { get; };

View File

@@ -15,10 +15,11 @@ namespace wd::common
{
class Config
{
public:
public:
Config() : pFile(nullptr), RO(false)
{
}
Config(std::shared_ptr<interfaces::storage::File> file, bool ReadOnly = false) : pFile(file), RO(ReadOnly)
{
}
@@ -33,7 +34,7 @@ namespace wd::common
template <typename T> bool set(std::string node, T type);
private:
private:
std::shared_ptr<interfaces::storage::File> pFile;
bool RO;
nlohmann::json data;

View File

@@ -0,0 +1,14 @@
#pragma once
namespace wd::common
{
class GUI
{
public:
void Initialize();
void Render();
private:
};
}

Submodule projects/dear-imgui-template added at a0504eed8c