mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
Simplify input_keyboard_event
This commit is contained in:
parent
5ea2078638
commit
f17080091b
@ -223,10 +223,9 @@ void input_keyboard_event(bool down, unsigned code,
|
|||||||
switch (device)
|
switch (device)
|
||||||
{
|
{
|
||||||
case RETRO_DEVICE_POINTER:
|
case RETRO_DEVICE_POINTER:
|
||||||
if (!input_keyboard_line_event(g_keyboard_line,
|
if (code != 0x12d)
|
||||||
(code != 0x12d) ? (char)code : character))
|
character = (char)code;
|
||||||
return;
|
/* fall-through */
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
if (!input_keyboard_line_event(g_keyboard_line, character))
|
if (!input_keyboard_line_event(g_keyboard_line, character))
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user