Browse Source

docs: fix code sample (#16623)

pull/16624/head
Thomas Kriechbaumer 2 years ago
committed by GitHub
parent
commit
86b123141b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      docs/feature_pointing_device.md

+ 2
- 1
docs/feature_pointing_device.md View File

@ -325,7 +325,8 @@ report_mouse_t pointing_device_task_user(report_mouse_t mouse_report) {
if (set_scrolling) {
mouse_report.h = mouse_report.x;
mouse_report.v = mouse_report.y;
mouse_report.x = mouse_report.y = 0
mouse_report.x = 0;
mouse_report.y = 0;
}
return mouse_report;
}


Loading…
Cancel
Save