Basically its my DualShock 3 controller, which under Control Panel->Game Controllers does actually appear with the correct name and settings too. Of course there are no drivers for the controller which means that whenever you try to calibrate it you get no response. Since my computer recognises the device, could I still use DirectInput (which I have always used for my keyboard) to access it, or since there is no driver would I have to go in directly with USB access?kyuusaku wrote:DirectInput--what you should be using for keyboard input as well.
Edit: Since its recognised by Windows, does that mean that I could read data from the controller directly via DirectInput?
- Posts: 324
- Joined: Fri Jun 29, 2007 10:25 pm
- Location: Earth, Milkyway Galaxy, The Universe, M-Theory
Don't forget about cross-platform emulators! (Or else the linux penguin will seek his revenge)kyuusaku wrote:DirectInput--what you should be using for keyboard input as well.
Code: Select all
*=$0000 loop JMP loop .eof
No, that driver doesn't work for my computer. And sorry tepples, but the first sentence of that post means nothing to me.tepples wrote:Your cross-platform wrapper should wrap DirectInput on Windows or the counterpart on *n?x or Mac OS X. Allegro does, and so should SDL.
WedNESday: I can has driver
A lot of cross-platform games are developed using a library such as Allegro, SDL, or ClanLib. This library exposes a generic API to read game controllers. Under the Windows version of the library, the generic API calls DirectInput. Under the Linux version of the library, the generic API calls the Linux joystick interface. Or under the Mac OS X version of the library, the generic API calls the HID Manager.WedNESday wrote:And sorry tepples, but the first sentence of that post means nothing to me.
Edit: I've just read somewhere that USB game controllers that are HID compliant don't need drivers, is this true?
Yeah. As long as it shows up in Device Manager and tests OK in the Game Controllers applet, you're good to go. Of course, controller-specific features (rumble, programmable buttons, motion sensors, etc.) usually won't work, unless they map to a standard axis or button.WedNESday wrote:Edit: I've just read somewhere that USB game controllers that are HID compliant don't need drivers, is this true?
Human Interface Devices->HID-compliant Consumer Control Device
Human Interface Devices->HID-compliant game controller
Here is how it appears under Control Panel->Game Controllers. Go to this page and scroll down until you can see images with all kinds of red circles on them. That is what I get in my Control Panel->Game Controllers, except nothing responds onscreen whenever I press any buttons.
So I've basically wasted £50. Great. Does anyone know of a person/software house that could write me a driver? I might be prepared to pay for services too.
Now I don't have any PS3 controllers aside from the RockBand stuff (I bought for PS2, all PS3 devices stickered "PS2 Compatible"...lol), but I do have plenty of Wii Remotes, which I've managed to get some working in GlovePIE (this is for VR tracking devices, and the WiiMote's accelerometer(s) is/are supported)...the only catch I've ran into is that you may need to obtain the Widcomm drivers or BlueSoleil software to support anything other than Keyboards, Mice, Networking Devices, and "Virtual Serial/Parallel Ports."
tl;dr WidComm or BlueSoleil allow more devices, and may be needed for it to work.