Thread: Generic USB controllers

  1. #1
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459

    Generic USB controllers

    Hello ,

    I'm currently on holidays, being a student I don't have a lot of monies. So, I have a brandless portable DVD player that came with 2 small USB controllers (like playstation ones) and I was thinking of using them with my computer, playing games on the TV etc. I was planning on either writing a driver, or mapping the keys to keyboard keys, ie left is 'A' or something.

    What's the best way to go around getting them working? Or even start? Doesn't matter if it's Linux or Windows, either is fine. I've done a bit of research, but have come up dry. I'd post pictures of the controllers but that'd be useless as they're... well -- generic.

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    Last edited by robwhit; 12-09-2007 at 12:55 AM.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    http://www.lvr.com/usb.htm
    Viewing Devices on a Host

    UVCView is a diagnostic tool for USB video-class hardware but also serves as a general-purpose tool based on USBView in the WDK. The tool shows the tree of all USB hubs and connected devices and each device's descriptors, with additional support for video devices. From Microsoft. No source code.
    It would seem to me that all you need to do is plug the devices in, then run this tool to get some idea of what kind of a device it is.

    From that, you can determine what kind of driver would be appropriate and go from there.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Awesome thanks, I'll give it a whiz.

    I'm not 1337 anymore

    BTW robwhit, they're not actually PS controllers, they're like them -- for a portable DVD player.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [Hardware + Software][C++ or C#] USB Fan
    By Mywk in forum C++ Programming
    Replies: 16
    Last Post: 07-04-2009, 03:12 PM
  2. Write protecting USB drive
    By stevesmithx in forum Tech Board
    Replies: 8
    Last Post: 01-17-2009, 04:37 PM
  3. USB Drives???
    By khpuce in forum Tech Board
    Replies: 14
    Last Post: 12-12-2003, 09:01 AM
  4. usb programming
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 07-24-2002, 08:06 PM
  5. Printers On USB
    By (TNT) in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 03-10-2002, 11:48 AM