How to interpret the mouse coordinates? (Using USB HOST FS HID Class)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-12-19 3:28 AM
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?
Labels:
- Labels:
-
STM32CubeMX
-
STM32F1 Series
-
USB
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-12-19 9:06 AM
As int8_t relative changes against the previous state.
JW
