cancel
Showing results for 
Search instead for 
Did you mean: 

How to interpret the mouse coordinates? (Using USB HOST FS HID Class)

erisson
Associate II

I'm reading the values ​​of the mouse coordinates as well as the buttons, however I do not know if I'm missing any configuration or if I do not know how to interpret the values ​​correctly, but they seem to be strange.

When I move mouse to left the values ​​range from 0x01 to 0x09;

When I move mouse to right the values ​​range from 0xF1 to 0xFF;

The same thing happens up and down.

Is that correct?

1 REPLY 1

As int8_t relative changes against the previous state.

JW