mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 12:40:09 +00:00
remove glui mouse support
This commit is contained in:
parent
4158248b77
commit
8a6c2568de
@ -901,17 +901,6 @@ static void wimp_render(void *data)
|
||||
menu_input_ctl(MENU_INPUT_CTL_POINTER_ACCEL_WRITE, &new_accel_val);
|
||||
}
|
||||
|
||||
if (settings->menu.mouse.enable)
|
||||
{
|
||||
int16_t mouse_y = menu_input_mouse_state(MENU_MOUSE_Y_AXIS);
|
||||
|
||||
unsigned new_pointer_val =
|
||||
(mouse_y - wimp->line_height + wimp->scroll_y - 16)
|
||||
/ wimp->line_height;
|
||||
|
||||
menu_input_ctl(MENU_INPUT_CTL_MOUSE_PTR, &new_pointer_val);
|
||||
}
|
||||
|
||||
if (wimp->scroll_y < 0)
|
||||
wimp->scroll_y = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user