mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-08-04 12:51:05 +00:00
[X11] Added strong-typed enum for XIValuatorInfo.mode
This commit is contained in:
parent
a3e47a2431
commit
5a5607eaa5
|
@ -136,4 +136,10 @@ namespace OpenTK.Platform.X11
|
|||
SlaveKeyboard = 4,
|
||||
FloatingSlave = 5,
|
||||
}
|
||||
|
||||
enum XIMode
|
||||
{
|
||||
Relative = 0,
|
||||
Absolute = 1
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1732,7 +1732,7 @@ namespace OpenTK.Platform.X11
|
|||
public double max;
|
||||
public double value;
|
||||
public int resolution;
|
||||
public int mode;
|
||||
public XIMode mode;
|
||||
}
|
||||
|
||||
struct XIDeviceEvent
|
||||
|
|
Loading…
Reference in a new issue