mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 05:35:35 +00:00
[SDL] Use h-wheel events
This commit is contained in:
parent
bb8dfe4304
commit
7eefb3e3ff
|
@ -87,7 +87,7 @@ namespace OpenTK.Platform.SDL2
|
||||||
|
|
||||||
public void ProcessWheelEvent(MouseWheelEvent wheel)
|
public void ProcessWheelEvent(MouseWheelEvent wheel)
|
||||||
{
|
{
|
||||||
state.SetScrollRelative(0, wheel.Y);
|
state.SetScrollRelative(wheel.X, wheel.Y);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ProcessMouseEvent(MouseMotionEvent motion)
|
public void ProcessMouseEvent(MouseMotionEvent motion)
|
||||||
|
|
Loading…
Reference in a new issue