mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(ffmpeg builtin) Add mouse wheel up/down to seek
This commit is contained in:
parent
fb5fd168f2
commit
9a54105321
@ -433,9 +433,11 @@ void libretro_ffmpeg_retro_run(void)
|
|||||||
bool right = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0,
|
bool right = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0,
|
||||||
RETRO_DEVICE_ID_JOYPAD_RIGHT);
|
RETRO_DEVICE_ID_JOYPAD_RIGHT);
|
||||||
bool up = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0,
|
bool up = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0,
|
||||||
RETRO_DEVICE_ID_JOYPAD_UP);
|
RETRO_DEVICE_ID_JOYPAD_UP) ||
|
||||||
|
input_state_cb(0, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_WHEELUP);
|
||||||
bool down = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0,
|
bool down = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0,
|
||||||
RETRO_DEVICE_ID_JOYPAD_DOWN);
|
RETRO_DEVICE_ID_JOYPAD_DOWN) ||
|
||||||
|
input_state_cb(0, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_WHEELDOWN);
|
||||||
bool l = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0,
|
bool l = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0,
|
||||||
RETRO_DEVICE_ID_JOYPAD_L);
|
RETRO_DEVICE_ID_JOYPAD_L);
|
||||||
bool r = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0,
|
bool r = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user