Silk.NET
Silk.NET copied to clipboard
XInput.GetApi() Not Implemented
As seen here: https://github.com/dotnet/Silk.NET/blob/23f9bd4d67ad21c69fbd69cc38a62fb2c0ec3927/src/Microsoft/Silk.NET.XInput/XInput.cs#L13
Silk.NET.XInput.XInput.GetApi() Contains throw new NotImplementedException().
EDIT: After a bit of testing and poking around at how APIs are loaded elsewhere in Silk.NET, I found a temporary workaround by manually creating a DefaultNativeContext and passing that into a new XInput instance:
DefaultNativeContext dnc = new DefaultNativeContext("xinput1_3.dll");
_api = new XInput(dnc);