chancleta / javadrone

Automatically exported from code.google.com/p/javadrone
0 stars 0 forks source link

Sony PS3 Controller support #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The current version only supports the "AfterGlow" controller. Attached is a 
patch for the SonyPS3Controller that enables support for the original SixAxis 
controller.

Original issue reported on code.google.com by normen667 on 17 May 2011 at 11:23

GoogleCodeExporter commented 8 years ago
Attached file had a debug divider set.. This one is correct

Original comment by normen667 on 17 May 2011 at 11:24

Attachments:

GoogleCodeExporter commented 8 years ago
interestingly my PS3 controller returns 49 bytes. Same vendor ID and product 
ID. Did you tested this? Does it work?

Original comment by kroko...@gmail.com on 22 May 2011 at 2:42

GoogleCodeExporter commented 8 years ago
Thanks for patches. I will review them and incorporate!

Original comment by kroko...@gmail.com on 22 May 2011 at 2:44

GoogleCodeExporter commented 8 years ago
I tested with another Sony controller I have and it also returns 49 bytes, not 
32 as your patch suggests.
The model I have is:
Dualshock 3
Sixaxis
Model No: CECHZC2U.

Original comment by kroko...@gmail.com on 22 May 2011 at 2:59

GoogleCodeExporter commented 8 years ago
Yes, I did, but with a SixAxis (no vibration), not with a SixAxis/Dualshock.. 

Original comment by normen667 on 22 May 2011 at 10:58

GoogleCodeExporter commented 8 years ago
Alright, the attached patch works with my DualShock and normal SixAxis

Original comment by normen667 on 22 May 2011 at 12:09

Attachments:

GoogleCodeExporter commented 8 years ago
Tested and it works now.

Original comment by kroko...@gmail.com on 22 May 2011 at 11:10