mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 09:59:32 -06:00
ControllerInterface: Add platform consistent names for modifier keys.
This commit is contained in:
@ -172,6 +172,11 @@ KeyboardMouse::KeyboardMouse(Window window, int opcode, int pointer, int keyboar
|
||||
delete temp_key;
|
||||
}
|
||||
|
||||
// Add combined left/right modifiers with consistent naming across platforms.
|
||||
AddCombinedInput("Alt", {"Alt_L", "Alt_R"});
|
||||
AddCombinedInput("Shift", {"Shift_L", "Shift_R"});
|
||||
AddCombinedInput("Ctrl", {"Control_L", "Control_R"});
|
||||
|
||||
// Mouse Buttons
|
||||
for (int i = 0; i < 32; i++)
|
||||
AddInput(new Button(i, &m_state.buttons));
|
||||
|
Reference in New Issue
Block a user