Explorar el Código

on-screen keyboard newline is reported as an Enter key

Sam Lantinga hace 3 años
padre
commit
bdbf90e3fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/events/scancodes_ascii.h

+ 1 - 1
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 },