Hi,
I'm trying to understand mouse_movement_send() function in HID mouse example. Can you please explain what is exactly happening inside this function?
I also didnt understand the following lines-
buffer[0] = x_delta & 0x00ff;
buffer[1] = ((y_delta & 0x000f) << 4) | ((x_delta & 0x0f00) >> 8);
buffer[2] = (y_delta & 0x0ff0) >> 4;
Also is there any code explanation for hid keyboard example?
Thanks.