• 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 ):

    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:

    1. List item
    2. https://github.com/espruino/Espruino/blo­b/master/src/jsvar.h
    3. https://github.com/espruino/Espruino/blo­b/master/src/jswrap_espruino.c

    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 ?


Avatar for stephaneAG @stephaneAG started