on-screen keyboard newline is reported as an Enter key

This commit is contained in:
Sam Lantinga 2022-07-01 09:17:30 -07:00
parent 7ac5d616f3
commit bdbf90e3fc
1 changed files with 1 additions and 1 deletions

View File

@ -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 },