USB joystick project


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2006
    Posts
    4

    Unhappy USB joystick project

    Hey,
    I'm new to pic programming and for my final year at uni im doing something thats a little fun, building a usb pic controlled joystick! I'm writing a programme that i can use to test the joystick. I've not decided what to programme it in yet however its going to be either visual basic or C, C is preffered as im writing the programme in linux!

    Can you help me with code to handle communication in and out?

    thanks
    ZeroFusion

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185

    Default

    hi Zero,

    Since you are in your final year at uni, I suggest that you consider a serial Joystick instead of a USB one.

    Then, you can finish your project one day during a break in uni.

    But if you chose USB, you will most likely finish your project after you graduate!


    ----------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    scorpion's Avatar
    scorpion Guest

    Default

    I made a USB joystick, but I used HIDMaker and It took about 2 days to get it how I wanted it.
    If you use HID descriptors you dont really need a test program. windows has a config screen to take care of that for you and you will be able to test it out on some games.

    edit: sorry linux... i read it, but i didnt read it.... sorry.

  4. #4
    Join Date
    Jun 2006
    Posts
    13

    Default

    Make the Joystick as a mouse, then all 3D Shooter in Linux
    are supported automatical
    The mouse samples are deliverd by microchip ...
    www.x-sim.de
    freeware simulator software
    with real MS Force Feedback solution

  5. #5
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by ZeroFusion
    Hey,
    I'm new to pic programming and for my final year at uni im doing something thats a little fun, building a usb pic controlled joystick! I'm writing a programme that i can use to test the joystick. I've not decided what to programme it in yet however its going to be either visual basic or C, C is preffered as im writing the programme in linux!

    Can you help me with code to handle communication in and out?

    thanks
    Another final year at uni. Imagine that. X years at higher level learing facility and still asking basic questions....like how to do a search....go figure...

  6. #6
    Join Date
    Oct 2006
    Posts
    4

    Default

    Quote Originally Posted by skimask
    Another final year at uni. Imagine that. X years at higher level learing facility and still asking basic questions....like how to do a search....go figure...
    I didn't say i was an engineering student, i'm doing this as an alternative project as part of my course. I agree with you in that alot of the people on my course don't even have a basic grasp on knowledge but i'm not them. I'm only trying to get a little advice here, I used to work for an electronics company for a short time and i'm trying to build on what little knowledge and understanding i have. I've coded my pic and all i'm tryin to do is find a list of commands and other tid bits of advice from you, the people that have done much more than me.

    So once more can you help me?, all im lookin for is a few snipits of code that i can learn from and create my own for the test program. Be it C or Basic just give me somethin i can play with or tell me somethin i must look for first.
    ZeroFusion

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    There a mouse example in the PBP folder, it could help.

    YES Mecanique EasyHID will help... but for Linux... i don't know
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. USB HID Joystick for Dummies
    By Squibcakes in forum USB
    Replies: 21
    Last Post: - 2nd May 2014, 07:52
  2. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  3. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  4. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39
  5. USB project
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 18th January 2005, 21:59

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