mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-09-14 14:57:05 +00:00
[X11] Rebased on develop branch
This commit is contained in:
parent
7cce215a4b
commit
692c4c64ff
|
@ -790,7 +790,6 @@
|
||||||
<Compile Include="WindowIcon.cs" />
|
<Compile Include="WindowIcon.cs" />
|
||||||
<Compile Include="Platform\MacOS\Cocoa\NSBitmapFormat.cs" />
|
<Compile Include="Platform\MacOS\Cocoa\NSBitmapFormat.cs" />
|
||||||
<Compile Include="Platform\NativeWindowBase.cs" />
|
<Compile Include="Platform\NativeWindowBase.cs" />
|
||||||
<Compile Include="Input\MouseScrollWheel.cs" />
|
|
||||||
<Compile Include="Input\MouseEventArgs.cs" />
|
<Compile Include="Input\MouseEventArgs.cs" />
|
||||||
<Compile Include="Platform\MacOS\Quartz\EventServices.cs" />
|
<Compile Include="Platform\MacOS\Quartz\EventServices.cs" />
|
||||||
<Compile Include="Platform\MacOS\Quartz\DisplayServices.cs">
|
<Compile Include="Platform\MacOS\Quartz\DisplayServices.cs">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#region License
|
#region License
|
||||||
//
|
//
|
||||||
// Xkb.cs
|
// X11KeyMap.cs
|
||||||
//
|
//
|
||||||
// Author:
|
// Author:
|
||||||
// Stefanos Apostolopoulos <stapostol@gmail.com>
|
// Stefanos Apostolopoulos <stapostol@gmail.com>
|
||||||
|
@ -693,10 +693,9 @@ namespace OpenTK.Platform.X11
|
||||||
internal bool TranslateKey(ref XKeyEvent e, out Key key)
|
internal bool TranslateKey(ref XKeyEvent e, out Key key)
|
||||||
{
|
{
|
||||||
return TranslateKey(e.keycode, out key);
|
return TranslateKey(e.keycode, out key);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static MouseButton TranslateButton(int button, out int wheelx, out int wheely)
|
internal static MouseButton TranslateButton(int button, out float wheelx, out float wheely)
|
||||||
{
|
{
|
||||||
wheelx = 0;
|
wheelx = 0;
|
||||||
wheely = 0;
|
wheely = 0;
|
||||||
|
|
Loading…
Reference in a new issue