Static x & y should be the same type as touchData.xValue & touchData.yValue: uint16_t. Their delta could be larger than int8_t and should be constrained to mouse_xy_report_t. |
||
|---|---|---|
| .. | ||
| pointing_device.c | ||
| pointing_device.h | ||
| pointing_device_drivers.c | ||
| pointing_device_gestures.c | ||
| pointing_device_gestures.h | ||