mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-05 04:28:47 +02:00
Examples: Allegro, Apple, DirectX9/10/11, Glfw+Vulkan :Added support for horizontal mouse wheel. (#1463)
This commit is contained in:
@ -587,9 +587,9 @@ void ImGui_ClipboardCallback(uSynergyCookie cookie, enum uSynergyClipboardFormat
|
||||
io.MouseDown[i] = g_MousePressed[i];
|
||||
}
|
||||
|
||||
// This is an arbitrary scaling factor that works for me. Not sure what units these
|
||||
// mousewheel values from synergy are supposed to be in
|
||||
// This is an arbitrary scaling factor that works for me. Not sure what units these mousewheel values from synergy are supposed to be in.
|
||||
io.MouseWheel = g_mouseWheelY / 500.0;
|
||||
io.MouseWheelH = g_mouseWheelX / 500.0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user