input: support skip in keyboard definition (for pseudo-keyboard devices).

This commit is contained in:
sorgelig
2020-06-30 03:59:18 +08:00
parent 4bfd1378a3
commit 7b2e25404a
2 changed files with 3 additions and 3 deletions

View File

@@ -556,7 +556,7 @@ static uint32_t menu_key_get(void)
{
if (get_map_vid() || get_map_pid())
{
send_map_cmd(KEY_SPACE);
send_map_cmd(KEY_ALTERASE);
}
}
}
@@ -2999,7 +2999,7 @@ void HandleUI(void)
sprintf(s, " %s ID: %04x:%04x", get_map_type() ? "Joystick" : "Keyboard", get_map_vid(), get_map_pid());
if (get_map_button() > 0 || !joymap_first)
{
OsdWrite(7, (get_map_type() && !is_menu()) ? " Space/Menu \x16 Undefine" : " Space \x16 Undefine");
OsdWrite(7, (get_map_type() && !is_menu()) ? " User/Menu \x16 Undefine" : " User \x16 Undefine");
if (!get_map_type()) OsdWrite(9);
}
OsdWrite(5, s);