Page 1 of 1

HID sample

Posted: Thu Jul 18, 2013 10:16 pm
by fixstuff555
Anyone else having trouble getting the HID sample to work?

Re: HID sample

Posted: Fri Jul 19, 2013 7:14 am
by Sean
It works for me in so far as it identifies what is plugged in, but I can't work out what you actually do with it!

Re: HID sample

Posted: Fri Jul 19, 2013 10:20 am
by support
fixstuff555 - the sample has an automatic connection facility which requires you to match both the name of the device and the manufacturer to get it to connect. Have you put these values in? (they must be exactly the same as they are shown in the string arrays that get output)

If this fails you could just strip the auto connect out and just use the primitive. The device is identified by its index.

Sean - the primitive sends and receives hex. It's quite low level and what you send and receive will depend on the device. For example, I have an XBox controller here and in the received hex string, byte 11 (index 10) tells me which of the X,Y,A,B buttons are pressed by setting the first four bits.

Re: HID sample

Posted: Fri Jul 19, 2013 2:27 pm
by fixstuff555
Well, it doesn't show a list of anything plugged in, at the lowest level primitive. I also tried simply placing a new low level primitive on a new sheet, and didn't see any devices there as well. I haven't tried it yet on my other computer, but I'll see what I can find out then.

Re: HID sample

Posted: Sat Jul 20, 2013 10:49 pm
by Asbjørn
Works fine here, but I don't know what to do with the data. Too bad the forum doesn't allow higher resolution images.

Re: HID sample

Posted: Sat Jul 20, 2013 11:10 pm
by nix
That's cool you got it working Asbjorn.
I've tried with a PS3 controller, it connects but sends no hex.
I know Jay has the same problem-
any chance of a fix Support?
I would love to have the PS3 controller up.
Cheers
I guess you can parse the data any way you want Asbjorn.
There is a hex converter in the toolbox, maybe it helps?

Re: HID sample

Posted: Sun Jul 21, 2013 6:53 pm
by fixstuff555
Well, it works fine on the home computer. I couldn't figure out why it wouldn't work on the laptop though.

Re: HID sample

Posted: Tue Aug 06, 2013 12:10 am
by nix
I'd like to bump this with the request for the PS3 controller fix.
Love to get this controller working.