From bdbf90e3fc27c123e699c03f54de3e35e51861dc Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 1 Jul 2022 09:17:30 -0700 Subject: [PATCH] on-screen keyboard newline is reported as an Enter key --- src/events/scancodes_ascii.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/scancodes_ascii.h b/src/events/scancodes_ascii.h index d46331c9c..c30cddca0 100644 --- a/src/events/scancodes_ascii.h +++ b/src/events/scancodes_ascii.h @@ -47,7 +47,7 @@ static ASCIIKeyInfo SDL_ASCIIKeyInfoTable[] = { /* 7 */ { SDL_SCANCODE_UNKNOWN, 0 }, /* 8 */ { SDL_SCANCODE_BACKSPACE, 0 }, /* 9 */ { SDL_SCANCODE_UNKNOWN, 0 }, -/* 10 */ { SDL_SCANCODE_UNKNOWN, 0 }, +/* 10 */ { SDL_SCANCODE_RETURN, 0 }, /* 11 */ { SDL_SCANCODE_UNKNOWN, 0 }, /* 12 */ { SDL_SCANCODE_UNKNOWN, 0 }, /* 13 */ { SDL_SCANCODE_RETURN, 0 },