Looking for an HID binding for D

Stefan Koch uplink.coder at googlemail.com
Sun Nov 8 21:58:54 UTC 2020


On Sunday, 8 November 2020 at 20:47:10 UTC, aberba wrote:
> https://github.com/libusb/hidapi
>
>> A Simple library for communicating with USB and Bluetooth HID 
>> devices on Linux, Mac and Windows.
>
> Anyone ever used it in D or done a D binding? I'm in need of a 
> binding.

There you go.

https://gist.github.com/UplinkCoder/c61dc8516d06c67c280e087a82b28815

Running dstep and deleting the useless macros was enough.



More information about the Digitalmars-d mailing list