Re: Question about XHC-HB04 pendant plugin.
Posted:
Fri May 11, 2018 6:48 am
by cncdrive
I meant premade libraries for that pendant as there are a few available, but they are buggy.
We used Windows API libraries only and made our own HID device definition and communication.
Re: Question about XHC-HB04 pendant plugin.
Posted:
Fri May 11, 2018 7:07 am
by Robertspark
I used this one and followed and adapted the code.
The example allowed my to reverse engineer (find) the button codes and the jog wheel for the shuttlexpress
https://www.codeproject.com/Tips/530836 ... -Interface
Re: Question about XHC-HB04 pendant plugin.
Posted:
Fri May 11, 2018 8:58 am
by kig23
Thanks Balazs for your replay. Thanks Rob.
Re: Question about XHC-HB04 pendant plugin.
Posted:
Sat May 12, 2018 6:12 am
by kig23
If somebody is interested in how to call Win32 and other unmanaged APIs from managed code (written in languages such as C# or VB.NET) here is a very good source of information:
https://www.pinvoke.net/Hope the link is useful.