mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 11:10:27 +00:00
(XVideo) Implement mouse wheel up/down for Xvideo too
This commit is contained in:
parent
e5de9494a5
commit
9970768dd2
@ -778,6 +778,8 @@ static bool xv_frame(void *data, const void *frame, unsigned width,
|
||||
return true;
|
||||
}
|
||||
|
||||
void x_input_poll_wheel(void *data, XButtonEvent *event, bool latch);
|
||||
|
||||
static bool xv_alive(void *data)
|
||||
{
|
||||
XEvent event;
|
||||
@ -805,6 +807,7 @@ static bool xv_alive(void *data)
|
||||
break;
|
||||
|
||||
case ButtonPress:
|
||||
x_input_poll_wheel(driver.input_data, &event.xbutton, true);
|
||||
break;
|
||||
case ButtonRelease:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user