You are reading a single comment by @stephaneAG and its replies. Click here to read the full conversation.
  • Sorry, I just edited the above code excerpts to better reflect what has to be tried on the RN42 setup and the puck.js setup.
    I guess it'd make sense merging all the possible "interfaces" for a gamepad module & pass the chosen one as param ? ( as well as accept a higher-level helper function if needed ? )

    Ex: possible choices of "interfaces":

    • USB HID
    • EspruinoBLE HID
    • RN42 HID
    • Xbox360 ( XInput )
    • ..

    the "gamepad higher level helper" could be close to the draft I wrote for another subject on the forums ( http://forum.espruino.com/conversations/­325589/ )

About

Avatar for stephaneAG @stephaneAG started