mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-08-04 17:21:12 +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,
|
SlaveKeyboard = 4,
|
||||||
FloatingSlave = 5,
|
FloatingSlave = 5,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum XIMode
|
||||||
|
{
|
||||||
|
Relative = 0,
|
||||||
|
Absolute = 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1732,7 +1732,7 @@ namespace OpenTK.Platform.X11
|
||||||
public double max;
|
public double max;
|
||||||
public double value;
|
public double value;
|
||||||
public int resolution;
|
public int resolution;
|
||||||
public int mode;
|
public XIMode mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct XIDeviceEvent
|
struct XIDeviceEvent
|
||||||
|
|
Loading…
Reference in a new issue