USB HID Joystick for Dummies


Results 1 to 22 of 22

Threaded View

  1. #14
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116

    Default Re: USB HID Joystick for Dummies

    Hi,

    I have got my usb joystick working, but my axis starts in the centre moves to the right, to the left side then back to the centre as i increase the pot.

    I am doing a simple "adcin, 0, USBBuffer[0]" as in your example.
    I tried shifting the result 4 bits to the left but this just mixes it up onto 2 axes.
    What am I doing wrong?

    Doh, all i had to do is add 128 to the result, boy do i feel foolish :-)

    Regards
    Bob...
    Last edited by BobEdge; - 21st April 2011 at 16:23.

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