Second, I am currently debugging a test implementation of an Xbox360 controller using Teensy+Espruino ( Thee teensy emulates the controller on the Xbox360 USB port while the Espruino controls the Teensy using Serial ).
To be able to use only the Espruino, I am investigating some STM32 stuff as well as the Espruino sources.
I found ( parts of ? ) the stuff related to USB, HID & CDC, but this involves knowing Espruino & STM32F USB stuff more than I currently do :/ ..
So, if anyone interested in working on the opportunity to get more advanced USB stuff on the Espruino, these files seems of particular interest:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
back !
So, first, an early version of the Espruino GamePad API ( could be used when using either USB HID, BLE HID, & RN-42 HID .. and soon XInput to act as an Xbox360 controller ;p ):
https://raw.githubusercontent.com/stephaneAG/usbHidDescriptors/master/espruino_hid_gamepad_draftApi.js
Second, I am currently debugging a test implementation of an Xbox360 controller using Teensy+Espruino ( Thee teensy emulates the controller on the Xbox360 USB port while the Espruino controls the Teensy using Serial ).
To be able to use only the Espruino, I am investigating some STM32 stuff as well as the Espruino sources.
I found ( parts of ? ) the stuff related to USB, HID & CDC, but this involves knowing Espruino & STM32F USB stuff more than I currently do :/ ..
So, if anyone interested in working on the opportunity to get more advanced USB stuff on the Espruino, these files seems of particular interest:
The 3rd link is particularly interesting on the lines starting from 1544
I'll try some of the STM32 USB stuff as soon as can do & 'll come back for updates on the subject.
On a close subject, anyone with a working HID implementation of a PS3 controller ?