mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(Input) Fix shift release in xkb
This commit is contained in:
parent
f4103b4074
commit
0b05fdf0b5
1 changed files with 3 additions and 3 deletions
|
@ -164,14 +164,14 @@ int handle_xkb(int code, int value)
|
|||
if (value)
|
||||
num_syms = xkb_state_key_get_syms(xkb_state, xk_code, &syms);
|
||||
|
||||
if (!syms)
|
||||
return -1;
|
||||
|
||||
if (value > 0)
|
||||
xkb_state_update_key(xkb_state, xk_code, XKB_KEY_DOWN);
|
||||
else
|
||||
xkb_state_update_key(xkb_state, xk_code, XKB_KEY_UP);
|
||||
|
||||
if (!syms)
|
||||
return -1;
|
||||
|
||||
/* Build mod state. */
|
||||
for (i = 0; i < MOD_MAP_SIZE; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue