This is my first post in this Forum, so first of all: Hi TinyClr Community
In the last weeks i was playing around with my FEZSpider, trying to create a simulation of a PS3 controller, so i can control my PS3 with the touchpad.
Please do not ask why iam doing this… it’s … just be cause i can
I figured out most of the usb-descriptor-issues and finally made my device be accepted as ps3 controller on a PC (so far so good, yay!)
Now when i connect to my PS3, the communication stops at some point (i got a blinky LED telling me when data was written to the usb-stream).
After some more searching (aka. googleing) i found out that there might be calls to the endpoint zero/setup channel of my usb-client which im not answering correctly.
Now whatever i do or try, even though opening a stream on endpoint 0 will succeed, cannot read any data from it at any time.
The essence of what im doing is:
on power up: create a usb stream on ep 0/0
wait/poll for “running” state.
start a thread trying to poll data from the stream
Does anyone of you have a piece of code, where he utilizes the zero-endpoint and receive data from the host?
Im using a FEZ-Spider.
Neither Microsoft.SPOT…Usb nor GHI…Usb libs work