Shop OBEX P1 Docs P2 Docs Learn Events
Prop And USB joystick — Parallax Forums

Prop And USB joystick

Miles. kMiles. k Posts: 34
edited 2010-01-30 18:55 in Propeller 1
I'm verry new to the propeller and i don't really know how USB works either.
So my question is, can you connect a Prop and a USB joystick (like a logitech attack3) if so, How?

Kind regards,
Miles. K

Post Edited (Miles. k) : 1/9/2010 11:59:14 PM GMT

Comments

  • VIRANDVIRAND Posts: 656
    edited 2010-01-10 01:31
    I'm going to just guess that joystick is a "HID" USB device, and it depends if there is a HID USB driver for the Propeller yet.
    Is there one?

    If not, there are drivers for the Nintendo joysticks and the Hydra Propeller Game Development board,
    and you can use a half-dollar shift register chip with old Atari/C64/Coleco or arcade machine joysticks,
    or hacked (rewired) USB joysticks.

    (In my opinion, USB is very very complicated for absolutely no good reason whatsoever,
    and the chips for decoding USB always seem to cost more than the Propeller, unless perhaps it is HID USB.)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    VIRAND, If you spent as much time SPINNING as you do Trolling the Forums,
    you'd have tons of awesome code to post!
    (Note to self)
  • BradCBradC Posts: 2,601
    edited 2010-01-10 02:41
    There is a HID gadget for the propeller (pretend to be a keyboard/joystick/mouse) but no USB host.

    If you were positive your joystick _only_ uses low speed usb, then it's possible at 96Mhz that you could write a basic USB host for it, but otherwise it's not gonna happen.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Life may be "too short", but it's the longest thing we ever do.
  • StefanL38StefanL38 Posts: 2,292
    edited 2010-01-10 09:15
    So as you are really new to the propeller my opinion is:
    If you don't use a superspecial designed, forcefeedback USB-joystick which is a MUST to use that one.

    Buy a simple joystick with simple switches inside and use that one.

    If you post a detailed description about your project the forum can give further advice

    best regards

    Stefan
  • hinvhinv Posts: 1,255
    edited 2010-01-30 18:55
    Can someone point me to BradC's USB HID code/thread?
Sign In or Register to comment.