mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
emu/natkeyboard.cpp: Add CAPSLOCK, CR and LF escapes to post_coded
This commit is contained in:
parent
946e1387ac
commit
12401f1429
@ -516,6 +516,8 @@ void natural_keyboard::post_coded(std::string_view text, const attotime &rate)
|
||||
{ "BACKSPACE"sv, 8 },
|
||||
{ "BS"sv, 8 },
|
||||
{ "BKSP"sv, 8 },
|
||||
{ "CAPSLOCK"sv, UCHAR_MAMEKEY(CAPSLOCK) },
|
||||
{ "CR"sv, 13 },
|
||||
{ "DEL"sv, UCHAR_MAMEKEY(DEL) },
|
||||
{ "DELETE"sv, UCHAR_MAMEKEY(DEL) },
|
||||
{ "END"sv, UCHAR_MAMEKEY(END) },
|
||||
@ -524,6 +526,7 @@ void natural_keyboard::post_coded(std::string_view text, const attotime &rate)
|
||||
{ "HOME"sv, UCHAR_MAMEKEY(HOME) },
|
||||
{ "INS"sv, UCHAR_MAMEKEY(INSERT) },
|
||||
{ "INSERT"sv, UCHAR_MAMEKEY(INSERT) },
|
||||
{ "LF"sv, 10 },
|
||||
{ "PGDN"sv, UCHAR_MAMEKEY(PGDN) },
|
||||
{ "PGUP"sv, UCHAR_MAMEKEY(PGUP) },
|
||||
{ "SPACE"sv, 32 },
|
||||
|
Loading…
Reference in New Issue
Block a user