Logic fix, optimization, remove hack. See post-comments on #17215

This commit is contained in:
Henrik Rydgård committed 2023-04-01 22:45:26 +02:00
1 parent 47785aa2bb
commit 9146020aa4
2 files changed
+4 -8

No files matched your search

+2
View File
@@ -188,6 +188,7 @@ void SingleControlMapper::MappedCallback(MultiInputMapping kdf) {
SetFocus();
break;
}
KeyMap::UpdateNativeMenuKeys();
g_Config.bMapMouse = false;
}
@@ -1169,6 +1170,7 @@ UI::EventReturn VisualMappingScreen::OnBindAll(UI::EventParams &e) {
void VisualMappingScreen::HandleKeyMapping(MultiInputMapping key) {
KeyMap::SetInputMapping(nextKey_, key, replace_);
KeyMap::UpdateNativeMenuKeys();
if (bindAll_ < 0) {
// For analog, we do each direction in a row.