mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 01:21:10 +00:00
(WIN32) Restore zero key event characters (#14848)
This commit is contained in:
parent
46e6ac2093
commit
b8bcce98c3
@ -1002,7 +1002,7 @@ static LRESULT CALLBACK wnd_proc_common_internal(HWND hwnd,
|
||||
mod |= RETROKMOD_META;
|
||||
|
||||
input_keyboard_event(keydown, keycode,
|
||||
wparam, mod, RETRO_DEVICE_KEYBOARD);
|
||||
0, mod, RETRO_DEVICE_KEYBOARD);
|
||||
|
||||
if (message != WM_SYSKEYDOWN)
|
||||
return 0;
|
||||
@ -1253,7 +1253,7 @@ static LRESULT CALLBACK wnd_proc_common_dinput_internal(HWND hwnd,
|
||||
mod |= RETROKMOD_META;
|
||||
|
||||
input_keyboard_event(keydown, keycode,
|
||||
wparam, mod, RETRO_DEVICE_KEYBOARD);
|
||||
0, mod, RETRO_DEVICE_KEYBOARD);
|
||||
|
||||
if (message != WM_SYSKEYDOWN)
|
||||
return 0;
|
||||
|
@ -591,7 +591,7 @@ static LRESULT CALLBACK winraw_callback(
|
||||
wr->keyboard.keys[mcode] = down;
|
||||
input_keyboard_event(down,
|
||||
input_keymaps_translate_keysym_to_rk(mcode),
|
||||
ri->data.keyboard.VKey, mod, RETRO_DEVICE_KEYBOARD);
|
||||
0, mod, RETRO_DEVICE_KEYBOARD);
|
||||
break;
|
||||
case RIM_TYPEMOUSE:
|
||||
for (i = 0; i < wr->mouse_cnt; ++i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user