Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

HID sample

For general discussion related FlowStone

HID sample

Postby fixstuff555 » Thu Jul 18, 2013 10:16 pm

Anyone else having trouble getting the HID sample to work?
fixstuff555
 
Posts: 151
Joined: Thu Oct 21, 2010 3:24 pm

Re: HID sample

Postby Sean » Fri Jul 19, 2013 7:14 am

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!
Sean
 
Posts: 22
Joined: Sat Jun 29, 2013 7:47 pm

Re: HID sample

Postby support » Fri Jul 19, 2013 10:20 am

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.
User avatar
support
 
Posts: 151
Joined: Fri Sep 07, 2012 2:10 pm

Re: HID sample

Postby fixstuff555 » Fri Jul 19, 2013 2:27 pm

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.
fixstuff555
 
Posts: 151
Joined: Thu Oct 21, 2010 3:24 pm

Re: HID sample

Postby Asbjørn » Sat Jul 20, 2013 10:49 pm

Works fine here, but I don't know what to do with the data. Too bad the forum doesn't allow higher resolution images.
Attachments
HID.jpg
HID.jpg (52.49 KiB) Viewed 13894 times
Asbjørn
 
Posts: 45
Joined: Thu Sep 16, 2010 11:51 am

Re: HID sample

Postby nix » Sat Jul 20, 2013 11:10 pm

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?
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: HID sample

Postby fixstuff555 » Sun Jul 21, 2013 6:53 pm

Well, it works fine on the home computer. I couldn't figure out why it wouldn't work on the laptop though.
fixstuff555
 
Posts: 151
Joined: Thu Oct 21, 2010 3:24 pm

Re: HID sample

Postby nix » Tue Aug 06, 2013 12:10 am

I'd like to bump this with the request for the PS3 controller fix.
Love to get this controller working.
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am


Return to General

Who is online

Users browsing this forum: No registered users and 51 guests