mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Add the ability to get partial input group
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.
This commit is contained in:
@ -44,6 +44,11 @@ void LoadConfig()
|
||||
s_config.LoadConfig(true);
|
||||
}
|
||||
|
||||
ControllerEmu::ControlGroup* GetGroup(int port, KeyboardGroup group)
|
||||
{
|
||||
return static_cast<GCKeyboard*>(s_config.GetController(port))->GetGroup(group);
|
||||
}
|
||||
|
||||
KeyboardStatus GetStatus(int port)
|
||||
{
|
||||
return static_cast<GCKeyboard*>(s_config.GetController(port))->GetInput();
|
||||
|
Reference in New Issue
Block a user