Skip to content

Commit

Permalink
fix scancode for text input
Browse files Browse the repository at this point in the history
  • Loading branch information
francisdb committed Jan 26, 2024
1 parent 18f3916 commit b1b9406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/video-drivers/sdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ void sysdep_update_keyboard()
fprintf(stderr, "SDL: Text input: %s\n", event.text.text);
#endif
kevent.unicode = event.text.text[0];
kevent.scancode = KEYCODE_OTHER;
kevent.scancode = KEY_NONE;
xmame_keyboard_register_event(&kevent);
break;
case SDL_QUIT:
Expand Down

0 comments on commit b1b9406

Please sign in to comment.