I was considering recently on the fact that some of the games I play on PC would be better suited to a game controller. I don't have one, but my roommates do have a PlayStation 3. I already know that the wireless Xbox 360 controllers only send data wirelessly, but what about the PS3 controller?
So I Googled. :D
And I came across this article which tells how to use a PS3 controller as a game controller for your PC. It worked great, but didn't work with certain games, namely, Tales.
So next I sought out a way to map the controller input to keyboard/mouse input. Googling once more led me here, where I was able to download a program called JoyToKey.
I've configured JoyToKey for my personal use, and it works great with Tales. I considered looking up the actual PS control schema, but decided not to. :P
The profile I designed is as follows:
Left Joystick Up: W
Left Joystick Left: A
Left Joystick Down: S
Left Joystick Right: D
Right Joystick/D-Pad: Move mouse cursor
X / R3 (Right Joystick Click): Left mouse click
O / L3 (Left Joystick Click): Right mouse click
For those who want to do this themselves, you can download the files here:
JoyToKey DualShock Profile for Tales (If you want to use my controller profile, extract to the same folder as the JoyToKey files)
1. Extract the archives to somewhere easily accessible. I have them in my Games folder.
2. From the SIXAXIS drivers, you will need to run the file "libusb-win32-filter-bin-0.1.10.1.exe" once, to install the drivers necessary to use the PS3 controller.
3. Plug in the PS3 controller to your PC. If you're in the same room as the PS3 (or within Bluetooth range), I recommend switching the PS3 off.
4. Open up the Game Controller settings (for me in Windows 7 this is Control Panel > Devices and Printers > PLAYSTATION(R) 3 Controller (Right-Click) > Game controller settings) and open the Properties for the controller. This will allow you to make sure the computer is detecting the controller (it's probably not working yet).
5. Again from the SIXAXIS drivers, you will need to run the "ps3sixaxis_en.exe" file. You should only have to run this once right now, but you may have to run it later when you want to use the controller again.
6. Now, move the left analog and see if the cross-hairs in the controller's properties is moving. If not, try pressing the PS button once or twice, which should activate the controller.
7. Once you can see the cross-hairs moving (you should also see buttons lighting up with their respective IDs as you press them), you can continue. If it's not working up to this point, then JoyToKey isn't going to work anyway.
8. If you're going to use the profile I designed, make sure at this point that you extracted the CFG file from the profile archive to the same folder as the JoyToKey files.
9. Run JoyToKey.exe (in the JoyToKey folder of course). This program must be running to convert the controller input to keyboard/mouse input for Tales to interpret.
Just thought I'd share this in case anybody else was interested. ;)