mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-30 15:32:47 +00:00
4cb3baba5c
This is done by: 1) Implementing said protocol in a new controller input class CemuHookUDPServer. 2) Adding functionality in the WiimoteEmu class for pushing that motion input to the emulated Wiimote and MotionPlus. 3) Suitably modifying the UI for configuring an Emulated Wii Remote.
46 lines
660 B
C++
46 lines
660 B
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <array>
|
|
|
|
namespace Config
|
|
{
|
|
enum class LayerType
|
|
{
|
|
Base,
|
|
GlobalGame,
|
|
LocalGame,
|
|
Movie,
|
|
Netplay,
|
|
CommandLine,
|
|
CurrentRun,
|
|
Meta,
|
|
};
|
|
|
|
enum class System
|
|
{
|
|
Main,
|
|
SYSCONF,
|
|
GCPad,
|
|
WiiPad,
|
|
GCKeyboard,
|
|
GFX,
|
|
Logger,
|
|
Debugger,
|
|
CemuHookUdpServer,
|
|
};
|
|
|
|
constexpr std::array<LayerType, 7> SEARCH_ORDER{{
|
|
LayerType::CurrentRun,
|
|
LayerType::CommandLine,
|
|
LayerType::Movie,
|
|
LayerType::Netplay,
|
|
LayerType::LocalGame,
|
|
LayerType::GlobalGame,
|
|
LayerType::Base,
|
|
}};
|
|
} // namespace Config
|