mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-20 00:29:25 +00:00
Update whitespace issues to conform to the rest of the document
This commit is contained in:
parent
5f336dd9f9
commit
e7ba5e789f
|
@ -198,8 +198,8 @@ namespace OpenTK.Platform.Windows
|
||||||
}
|
}
|
||||||
if ((raw.ButtonFlags & RawInputMouseState.BUTTON_4_DOWN) != 0)
|
if ((raw.ButtonFlags & RawInputMouseState.BUTTON_4_DOWN) != 0)
|
||||||
{
|
{
|
||||||
mouse.EnableBit((int)MouseButton.Button1);
|
mouse.EnableBit((int)MouseButton.Button1);
|
||||||
Functions.SetCapture(Window);
|
Functions.SetCapture(Window);
|
||||||
}
|
}
|
||||||
if ((raw.ButtonFlags & RawInputMouseState.BUTTON_4_UP) != 0)
|
if ((raw.ButtonFlags & RawInputMouseState.BUTTON_4_UP) != 0)
|
||||||
{
|
{
|
||||||
|
@ -211,11 +211,11 @@ namespace OpenTK.Platform.Windows
|
||||||
mouse.EnableBit((int)MouseButton.Button2);
|
mouse.EnableBit((int)MouseButton.Button2);
|
||||||
Functions.SetCapture(Window);
|
Functions.SetCapture(Window);
|
||||||
}
|
}
|
||||||
if ((raw.ButtonFlags & RawInputMouseState.BUTTON_5_UP) != 0)
|
if ((raw.ButtonFlags & RawInputMouseState.BUTTON_5_UP) != 0)
|
||||||
{
|
{
|
||||||
mouse.DisableBit((int)MouseButton.Button2);
|
mouse.DisableBit((int)MouseButton.Button2);
|
||||||
Functions.ReleaseCapture();
|
Functions.ReleaseCapture();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((raw.ButtonFlags & RawInputMouseState.WHEEL) != 0)
|
if ((raw.ButtonFlags & RawInputMouseState.WHEEL) != 0)
|
||||||
mouse.WheelPrecise += (short)raw.ButtonData / 120.0f;
|
mouse.WheelPrecise += (short)raw.ButtonData / 120.0f;
|
||||||
|
|
Loading…
Reference in a new issue