4 Replies Latest reply on May 26, 2017 1:36 PM by Intel Corporation

    Using USB interrupts (from Joystick) on Intel Edison while performing other tasks on the main loop

    Ramnath

      I am working on an application that runs a few tasks in the main loop, but has to be sensitive to inputs from an USB joystick

       

      I have come across Intel Edison codes (https://software.intel.com/sites/default/files/managed/7e/79/maker-garage-joystick-guide.pdf ) where the Joystick is read using polling.

       

      I have come across Intel Edison codes wherein the GPIO is read using interrupts.

       

      Is there a way to respond/ read the inputs from an USB joystick (or any USB device) using interrupt or a non-thread-blocking way. Any pointers/ resources would be welcome!