1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

overlays/osk: show dialog on key input

This commit is contained in:
Megamouse 2023-01-24 00:25:33 +01:00
parent d3dbf9e83f
commit feb04c64a8

View File

@ -591,6 +591,9 @@ namespace rsx
update_panel();
}
// Make sure to show the dialog and send necessary events
set_visible(true);
std::lock_guard lock(m_preview_mutex);
const u32 grid_size = num_columns * num_rows;
@ -843,6 +846,9 @@ namespace rsx
update_panel();
}
// Make sure to show the dialog and send necessary events
set_visible(true);
const bool use_key_string_fallback = !key.empty();
osk.notice("osk_dialog::on_key_pressed(led=%d, mkey=%d, key_code=%d, out_key_code=%d, pressed=%d, use_key_string_fallback=%d)", led, mkey, key_code, out_key_code, pressed, use_key_string_fallback);