1 Reply Latest reply on May 12, 2015 4:59 PM by user_224577889

    Has somebody an idea to get the HID-mousewheel to work?

    user_224577889

      I used the BLE_HID_mouse example and adapted some lines to get the mousewheel data as 4th byte:

         

      #define MOUSE_DATA_LEN              (4u)  //instead of 3

         

      and added:

         

      abMouseData[3u] = bScrollWheel_value; (I tested 120 or -120)

         

       

         

      Also in the BLE component HID-profile I changed:

         

        - "Human interface device"

         

              - "Boot mouse input report: Boot mouse input report value"  from 3 to 4 bytes  to include the extra wheelvalue byte

         

              - "Report In: Report value" also from 3 to 4 bytes  to include the wheel byte

         

       

         

      No errors, and I even see in cysmart on my PC that the 4th byte is being transmitted and it's received correctly.

         

      But it doesn't seem to scroll, what am I doing wrong, maybe a Bug in version 3.1 SP3 or some characteristics needs to be reported?