mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-22 20:59:16 +01:00
24 lines
531 B
C++
24 lines
531 B
C++
#pragma once
|
|
|
|
#include "ConfigDefines.h"
|
|
#include "ConfigDisplayItem.h"
|
|
#include "config/WUPSConfig.h"
|
|
|
|
#include "utils/input/Input.h"
|
|
#include <gx2/enum.h>
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
#define MOVE_ITEM_INPUT_MASK (WUPS_CONFIG_BUTTON_B | WUPS_CONFIG_BUTTON_DOWN | WUPS_CONFIG_BUTTON_UP)
|
|
|
|
class ConfigUtils {
|
|
public:
|
|
static void openConfigMenu();
|
|
|
|
static WUPS_CONFIG_SIMPLE_INPUT convertInputs(uint32_t buttons);
|
|
|
|
private:
|
|
static void displayMenu();
|
|
static void renderBasicScreen(std::string_view text);
|
|
};
|