mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-23 18:19:21 +01:00
citra_qt/configure_input: use pre-increment instead of post-increment
Co-authored-by: Johel Ernesto Guerrero Peña <johelegp@gmail.com>
This commit is contained in:
parent
3cc559f865
commit
39680264b4
@ -351,10 +351,10 @@ QList<QKeySequence> ConfigureInput::GetUsedKeyboardKeys() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int analog_id = 0; analog_id < Settings::NativeAnalog::NumAnalogs; analog_id++) {
|
for (int analog_id = 0; analog_id < Settings::NativeAnalog::NumAnalogs; ++analog_id) {
|
||||||
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 =
|
auto sub_button =
|
||||||
Common::ParamPackage{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 New Issue
Block a user