Playstation 3 Motion Controller(PS MOVE) as a Generic HID

When connected by Bluetooth via MotionInJoy, the PlayStation Move will show up as a generic HID device with VID 8888, and PID 0308.

I have make a demo that can read the Motion controller input data and lighted the glowing ball.
This demo based on the hid demo from http://www.lvr.com/hidpage.htm#MyExampleCode.
This demo program  only provided a way to receive the input report and send out report.
Attached file is the source code of c# and vs2008 project.

to talk to  the PlayStation Move through windows api "HidD_SetFeature" and  "HidD_GetFeature"
HidD_SetFeature:
 outFeatureReportBuffer[0] = 0x00(Motioninjoy virtual gamepad(genric HID) report ID );
 outFeatureReportBuffer[1] = 0xCC(command:0x00 will be send as interrupt mode,0x01 will be send as control mode);
 outFeatureReportBuffer[2] = 0xDD(PS MOVE REPORT ID,0x02 can lighted the glowing ball,other mybe can vibration special  feature..... );
 outFeatureReportBuffer[3] = 0xYY;(will be send to ps move as his report)
 outFeatureReportBuffer[4] = 0xYY;(will be send to ps move as his report)
 ......
HidD_GetFeature:
  1. 0x00:(Motioninjoy virtual gamepad(genric HID) report ID );
  2. 0xYY:(raw data from PS MOVE, latest data)
  3. 0xYY
  4. ......                 

Please help to post the information you get in our wiki 

more information coming later…
AttachmentSize
generichid_cs.zip203.7 KB