Open vpenades opened 7 years ago
Because wiimotelib uses Win32 interops, it can only be used on Windows Desktop projects.
In order to use it on UWP, instead of using Win32 P/Invokes, on UWP there's this new API:
Windows.Devices.HumanInterfaceDevice.HidDevice
I guess with some tinkering, you could abstract the core of wiimotelib, and then have specific DLL variants for desktop, UWP, and why not, xamarin
Because wiimotelib uses Win32 interops, it can only be used on Windows Desktop projects.
In order to use it on UWP, instead of using Win32 P/Invokes, on UWP there's this new API:
Windows.Devices.HumanInterfaceDevice.HidDevice
I guess with some tinkering, you could abstract the core of wiimotelib, and then have specific DLL variants for desktop, UWP, and why not, xamarin