mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(XEGL) Implement wheel up/down for XEGL too
This commit is contained in:
parent
74332fbd14
commit
e5de9494a5
@ -135,6 +135,8 @@ static void gfx_ctx_xegl_swap_interval(void *data, unsigned interval)
|
||||
}
|
||||
}
|
||||
|
||||
void x_input_poll_wheel(void *data, XButtonEvent *event, bool latch);
|
||||
|
||||
static void gfx_ctx_xegl_check_window(void *data, bool *quit,
|
||||
bool *resize, unsigned *width, unsigned *height, unsigned frame_count)
|
||||
{
|
||||
@ -184,6 +186,7 @@ static void gfx_ctx_xegl_check_window(void *data, bool *quit,
|
||||
break;
|
||||
|
||||
case ButtonPress:
|
||||
x_input_poll_wheel(driver.input_data, &event.xbutton, true);
|
||||
break;
|
||||
|
||||
case ButtonRelease:
|
||||
|
Loading…
x
Reference in New Issue
Block a user