mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-18 22:30:43 +02:00

For hotkeys, changed HotkeyManager to allow to get and make partial groups of hotkeys. Also preserved the old configuration naming scheme for the ini, this is done to preserve compatibility with the older groups structure. Add the ability to get GCPad control groups Used like the HotkeyManager methods, this is used for the new GCPad configuration dialog. Add the ability to get groups of Keyboard input Same reasons as the previous ones. Add ability to get groups of Wiimote input Add the ability to get extensions group This needed to pass to 3 classes. Will be used for their respective dialogs.
25 lines
479 B
C++
25 lines
479 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "Common/CommonTypes.h"
|
|
#include "InputCommon/ControllerEmu.h"
|
|
|
|
class InputConfig;
|
|
enum class KeyboardGroup;
|
|
struct KeyboardStatus;
|
|
|
|
namespace Keyboard
|
|
{
|
|
void Shutdown();
|
|
void Initialize();
|
|
void LoadConfig();
|
|
|
|
InputConfig* GetConfig();
|
|
ControllerEmu::ControlGroup* GetGroup(int port, KeyboardGroup group);
|
|
|
|
KeyboardStatus GetStatus(int port);
|
|
}
|