mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-20 06:24:17 +00:00
Update src/citra_qt/configuration/configure_input.cpp
Co-authored-by: Pengfei Zhu <zhupf321@gmail.com>
This commit is contained in:
parent
39680264b4
commit
95383a3d14
1 changed files with 1 additions and 2 deletions
|
@ -355,8 +355,7 @@ QList<QKeySequence> ConfigureInput::GetUsedKeyboardKeys() {
|
||||||
auto analog_param = analogs_param[analog_id];
|
auto analog_param = analogs_param[analog_id];
|
||||||
if (analog_param.Get("engine", "") == "analog_from_button") {
|
if (analog_param.Get("engine", "") == "analog_from_button") {
|
||||||
for (int sub_button_id = 0; sub_button_id < ANALOG_SUB_BUTTONS_NUM; ++sub_button_id) {
|
for (int sub_button_id = 0; sub_button_id < ANALOG_SUB_BUTTONS_NUM; ++sub_button_id) {
|
||||||
auto sub_button =
|
const Common::ParamPackage sub_button{analog_param.Get(analog_sub_buttons[sub_button_id], "")};
|
||||||
Common::ParamPackage{analog_param.Get(analog_sub_buttons[sub_button_id], "")};
|
|
||||||
list << QKeySequence(sub_button.Get("code", 0));
|
list << QKeySequence(sub_button.Get("code", 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue