mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
Reallow left/right RGUI scroll.
Assumed this was a bug as right scroll was broken. Fixes right case as well.
This commit is contained in:
parent
2e2efa2d09
commit
559b5d39fc
@ -2568,9 +2568,14 @@ uint64_t rgui_input(void)
|
||||
|
||||
rgui->trigger_state = input_state & ~rgui->old_input_state;
|
||||
|
||||
// FIXME: Allowing a held-down scroll is desired for left/right in filebrowser,
|
||||
// but seems weird to allow in setting options.
|
||||
// Logic here should take this into account.
|
||||
rgui->do_held = (input_state & (
|
||||
(1ULL << DEVICE_NAV_UP) |
|
||||
(1ULL << DEVICE_NAV_DOWN))) &&
|
||||
(1ULL << DEVICE_NAV_DOWN) |
|
||||
(1ULL << DEVICE_NAV_LEFT) |
|
||||
(1ULL << DEVICE_NAV_RIGHT))) &&
|
||||
!(input_state & (1ULL << DEVICE_NAV_MENU));
|
||||
|
||||
return input_state;
|
||||
|
Loading…
x
Reference in New Issue
Block a user