mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] wayland: pass mouse wheel motion events to imgui
This commit is contained in:
parent
7ca5e14938
commit
72ccd44681
@ -93,6 +93,7 @@ static void pointerAxisHandler(void * data, struct wl_pointer * pointer,
|
||||
4 /* SPICE_MOUSE_BUTTON_UP */;
|
||||
app_handleButtonPress(button);
|
||||
app_handleButtonRelease(button);
|
||||
app_handleWheelMotion(wl_fixed_to_double(value) / 15.0);
|
||||
}
|
||||
|
||||
static int mapWaylandToSpiceButton(uint32_t button)
|
||||
|
Loading…
Reference in New Issue
Block a user