USB HID Joystick for Dummies


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    3

    Default descriptor tool?

    Hi thanks for this info squibcakes!

    i think this is exactly what I need to move forward.
    I have EasyHid and have created the generic files but now need to understand the descriptor files.

    one question...don't know where to find 'Descriptor tool'. is it a text editor? where do I find it?

    cheers.
    gogsmack01

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    ...don't know where to find 'Descriptor tool'.
    Ahhh yes, one of my favorite programs.

    DT.exe

    Right side of the page ...
    http://www.usb.org/developers/hidpage/

    DT

  3. #3
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704

    Default

    Gogsmack01,

    Writing descriptors is a headacke. I have managed to modify a few descriptors to do what I want, but always after many hours of banging my head against the walls.

    Robert

  4. #4
    Join Date
    Sep 2009
    Posts
    755

    Default

    I can't getg it work. can someone upload descriptor file?
    Thanks

  5. #5
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704

    Default

    Pedja089,

    Look at the link that Darrel provided above. In there you will find a document about HID descriptors. In one of the appendixes at the end of the document they have descriptors for a mouse, a keyboard, and a joystick. That should help you.

    Get one of the sample descriptors that come with PBP and modify it accordingly. It should work.

    Robert

  6. #6
    Join Date
    Jun 2009
    Posts
    3

    Default flavour of pic BASIC

    Hi all
    I ran into a problem right at the start when my basic compiler threw some error messages. I am sure it is related to the flavour of PicBASIC I am using.
    squibcakes you are using PBP (PicBASIC Pro), I am using Proton+.
    the difference can be seen in variable declaration eg.
    dog VAR Byte 'PBP
    Dim dog Byte 'Proton+

    Hope I am not talking mince here, anyone can support this theory I'd be glad to hear.

    Once I sort out the source of compile errors I can forge ahead.

    cheers.
    Gordon.

  7. #7
    Join Date
    Jun 2009
    Posts
    3

    Default flavour of picBASIC addendum

    OK
    it is
    Dim dog As Byte 'Proton+


    cheers.
    Gordon.

Similar Threads

  1. USB hid maker help please.
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd April 2013, 14:49
  2. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  3. USB MSD with HID code ?
    By Chris Barron in forum USB
    Replies: 1
    Last Post: - 11th November 2009, 17:33
  4. i cant get 18f2550 work as HID
    By Ahmadabuomar in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 13th October 2009, 16:39
  5. Replies: 0
    Last Post: - 6th March 2009, 07:52

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts