huub8
Junior Member level 3
- Joined
- Jul 9, 2012
- Messages
- 29
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,489
Hello All,
I'm trying to change the stm32f4 discovery demonstration project (a usb mouse) into a usb gamepad. But as soon as I change 09 02 (usage: mouse) into 09 05 (usage: gamepad) in the usb descriptor it stops working.
Right now the code makes it act as a usb mouse that always sends x = 1, y= 1 and the other values are 0. I have been trying to get this to work for weeks now, but without succes.
The project can be downloaded here:
**broken link removed**
The actual workspace (using IAR embedded workbench) can be found in there here:
stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\EWARM
I would be very grateful if anyone could have a look at it (since I already tried changing any of the descriptors values that I could think of).
I'm trying to change the stm32f4 discovery demonstration project (a usb mouse) into a usb gamepad. But as soon as I change 09 02 (usage: mouse) into 09 05 (usage: gamepad) in the usb descriptor it stops working.
Right now the code makes it act as a usb mouse that always sends x = 1, y= 1 and the other values are 0. I have been trying to get this to work for weeks now, but without succes.
The project can be downloaded here:
**broken link removed**
The actual workspace (using IAR embedded workbench) can be found in there here:
stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\EWARM
I would be very grateful if anyone could have a look at it (since I already tried changing any of the descriptors values that I could think of).