2 Replies Latest reply on Mar 28, 2016 6:29 PM by Intel Corporation

    Error compiling... trying to use the Mouse library

    AdanChristo

      Just trying to make my gen 2 'left click', tried this and it looks good but for some reason i got an error ive never seen before:

       

       

       

      #include <Mouse.h>

      void setup() {

        // put your setup code here, to run once:

      Mouse.begin();

      Mouse.click(MOUSE_LEFT);

      }

       

       

      void loop() {

        // put your main code here, to run repeatedly:

       

       

      }

       

      error:

      \libraries\Mouse\src/Mouse.h:25:17: fatal error: HID.h: No such file or directory

      compilation terminated

      exit status 1

      error compiling for board Intel@ Galileo Gen2.