Skip to content

Commit d605f1d

Browse files
joevtdingusdev
authored andcommitted
hostevents_sdl: Fix INTERNATIONAL3 for non-Japan.
1 parent 489bd0d commit d605f1d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/hostevents_sdl.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,8 @@ static int get_sdl_event_key_code(const SDL_KeyboardEvent &event, uint32_t kbd_l
492492
case SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_INTERNATIONAL3):
493493
if (kbd_locale == Jpn_JPN)
494494
return AdbKey_JIS_Yen;
495+
else
496+
return -1;
495497
case SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_INTERNATIONAL1):
496498
return AdbKey_JIS_Underscore;
497499
case 0XBC:

0 commit comments

Comments
 (0)