I'm trying to get this to work with libusboop.pas but I'm getting a compiler
error I don't really know how to fix:
157 Constructor TSNAPIDevice.Create(idVendor, idProduct: LongInt; AConfig,
AInterface, AAltInterface: LongInt);
158 Var Intf : Plibusb_interface_descriptor;
159 Begin
160inhe
Oh, for some reason I wasn't thinking I was replacing mydevice.pas with
snapi.pas... Ok.. so if
I understand this correctly, make the changes necessary in snapi.pas to use
libusboop.pas instead of the old usb.pas, and then use TSNAPIDevice.Create to
create a TLIBUSBPseudoHIDInterface to my d
Hi!
Am Sonntag, den 18.08.2019, 10:43 -0400 schrieb James Richters:
> I just pushed it.
Sorry for the delayed reply.
After comparing the exception stack trace you've sent (see below) and
your code, the access violation happens at
https://github.com/Zaaphod/pas-libusb/blob/Hack/src/libusboop.pas#
On 8/19/19 4:24 AM, James Richters wrote:
I've been reading about libusb here:
https://www.cs.unm.edu/~hjelmn/libusb_hotplug_api/group__syncio.html
some things I just don't really understand, I'm hoping someone can explain:
The wValue, wIndex and wLength fields values should be given in host-en
On Mon, 2019-08-19 at 04:24 -0400, James Richters wrote:
> I've been reading about libusb here:
> https://www.cs.unm.edu/~hjelmn/libusb_hotplug_api/group__syncio.html
>
> some things I just don't really understand, I'm hoping someone can explain:
I can't help with the details, but these sites are
I've been reading about libusb here:
https://www.cs.unm.edu/~hjelmn/libusb_hotplug_api/group__syncio.html
some things I just don't really understand, I'm hoping someone can explain:
The wValue, wIndex and wLength fields values should be given in host-endian
byte order.
What does host-endian
Yes, I did see that... it happens that before I found that page I had it on one
of the axis anyway because if you switch it to off the handwheel gets
disabled. I'm not sure why I am getting an IO error trying to send data to
the device.. I'm not sure if it's Windows, or FPC, or the method I a