Guitar controller
Re: Guitar controller
The EMUPS3 directory contains unfinished code...
The source code for the PS3 DIY USB adapter is in the joystick-serial directory.
The first thing to do is to modify the joystick-serial/Descriptors.c file so that your teensy can enumerate as a guitar hero controller (in other words, "lsusb -vd 12ba:0100" should give the exact same result).
Once this is done, you will have to modify the USB_JoystickReport_Data_t structure in joystick-serial/Joystick.h so that it corresponds to the guitar hero controller report.
Finally you'll have to modify emuclient so that it sends the appropriate data format to the teensy (through the CP2102):
The source code for the PS3 DIY USB adapter is in the joystick-serial directory.
The first thing to do is to modify the joystick-serial/Descriptors.c file so that your teensy can enumerate as a guitar hero controller (in other words, "lsusb -vd 12ba:0100" should give the exact same result).
Once this is done, you will have to modify the USB_JoystickReport_Data_t structure in joystick-serial/Joystick.h so that it corresponds to the guitar hero controller report.
Finally you'll have to modify emuclient so that it sends the appropriate data format to the teensy (through the CP2102):
- add a new report structure in report.h
- add a new function in report.c
- add a new controller type (add a value to e_controller_type in emuclient.h), and handle that new value in args.c and report.c
GIMX creator
Re: Guitar controller
Removed
Last edited by Binks on Mon Mar 25, 2013 1:51 pm, edited 1 time in total.
Re: Guitar controller
Yes, it worksBinks wrote:So the teensy report itself as an "Atmel Corp. LUFA Joystick Demo Application" to the PS3 and it works?
There's no such PS3.hex. The Joystick.hex file corresponds to the file from the firmwares-0.23.zip archive.Binks wrote:Then the Joystick.hex generated by the makefile is the PS3.hex that is downloadable from the wiki?
GIMX creator
Re: Guitar controller
Removed
Last edited by Binks on Mon Mar 25, 2013 1:51 pm, edited 1 time in total.
Re: Guitar controller
The guitar controller seems to be a standard HID controller. In other words, it describes itself as a joystick, just like the DIY USB adapter.
A sixaxis is not a standard HID controller: it does not work with generic drivers in windows, and there are specific patches in the Linux kernel.
Changing the VID/PID is not enough, you need to change all the stuff I said above.
The PS3EMU work is in standby.
A sixaxis is not a standard HID controller: it does not work with generic drivers in windows, and there are specific patches in the Linux kernel.
Changing the VID/PID is not enough, you need to change all the stuff I said above.
The PS3EMU work is in standby.
GIMX creator
Re: Guitar controller
Removed