Searching the internet, you're likely going to find people who say this is not possible. At least where USB is concerned. Where the RasberryPI is concerned the USB ports on it are connected to a hub chip, which then runs in USB master mode. So . . . using HID USB descriptors is not possible in this case. Or so I've read.
However, with all that said, I do believe the beaglebone's 'client' port is capable of USB slave mode. Regardless read Phil Polstra's post here: https://groups.google.com/forum/#!msg/beagleboard/Umoa2yElKM8/JdD0SY_oCQAJ He did a DEFCON demonstration using a beaglebone to emulate a PC keyboard( I think ). That should be more than enough to get you started. On Thu, Sep 22, 2016 at 4:22 PM, David Glaser <dgla...@glaserresearch.net> wrote: > I am working with some researchers in developing a game controller for > people with disabilities of the hand. The idea is to explore different > techniques for capturing gestures and converting them into joystick axis > movement and button pushes. > > I was wondering if anyone has an example of how to make a BeagleBoard-xm > (or a BeagleBone Black) appear as a joystick to a host pc. > > Any help would be appreciated. > > I would like to use Debian. > > -David Glaser > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beagleboard/1557f693-3ecc-4891-8cdc-a03fbad1f301%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/1557f693-3ecc-4891-8cdc-a03fbad1f301%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORqdb2XBOw00W7HErMs6r8abm84Le7Q8WPJFZ%2BjtCEP4bA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.