hegyak / SkyEditGUI

GUI for Editor for MiFare based figures
GNU General Public License v3.0
18 stars 6 forks source link

More platform support #2

Open JohnVeness opened 4 years ago

JohnVeness commented 4 years ago

Many thanks for writing this app. I realise that it is early days and this might not be a priority for you, but it would be nice if it supported more platforms, such as Linux and macOS. At the moment it compiles fine in monodevelop on Linux, but crashes upon running, due to it trying to call hid.dll.

A brief google finds a number of multi-platform HID libraries you could maybe use instead, such as https://github.com/libusb/hidapi or https://github.com/MelbourneDeveloper/Device.Net

There may be other Windows API calls (I see references to, e.g. kernel.dll) too.

Thanks again.

hegyak commented 4 years ago

I had a bit of trouble trying to get the HID Libraries to work for me, which is why I went with the Windows API solution/implementation.

If someone would like to help and create a Pull Request with a non-Windows based HID solution, I will gladly review it and put it into this program for everyone.

The Protocol can be found in the Main Form source code under the region: " Portal Handling "

Or, I can create a Branch that doesn't interface with the Portal for users on OSX and Linux.