mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(Menu keyboard) Implement pageup/pagedown
This commit is contained in:
parent
d1ad845c3a
commit
0a42940332
@ -854,6 +854,14 @@ uint64_t input_menu_keys_pressed(void)
|
||||
RETRO_DEVICE_KEYBOARD, 0, RETROK_UP))
|
||||
BIT64_SET(ret, RETRO_DEVICE_ID_JOYPAD_UP);
|
||||
|
||||
if (current_input->input_state(current_input_data, binds, 0,
|
||||
RETRO_DEVICE_KEYBOARD, 0, RETROK_PAGEUP))
|
||||
BIT64_SET(ret, RETRO_DEVICE_ID_JOYPAD_L);
|
||||
|
||||
if (current_input->input_state(current_input_data, binds, 0,
|
||||
RETRO_DEVICE_KEYBOARD, 0, RETROK_PAGEDOWN))
|
||||
BIT64_SET(ret, RETRO_DEVICE_ID_JOYPAD_R);
|
||||
|
||||
if (current_input->input_state(current_input_data, binds, 0,
|
||||
RETRO_DEVICE_KEYBOARD, 0, settings->input.binds[0][RARCH_QUIT_KEY].key ))
|
||||
BIT64_SET(ret, RARCH_QUIT_KEY);
|
||||
|
Loading…
x
Reference in New Issue
Block a user