)]}'
{
  "commit": "4e0bb4587f6193814a8c54bfad689e4de11716d5",
  "tree": "779f927a6df46b95d8abc0e5ed193d660a69e60e",
  "parents": [
    "23b521c6af529a48b8d5d82833cfa2f31ab57219"
  ],
  "author": {
    "name": "seobrien",
    "email": "seobrien@chromium.org",
    "time": "Fri Dec 29 22:37:44 2023"
  },
  "committer": {
    "name": "Chromeos LUCI",
    "email": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Jan 23 15:07:54 2024"
  },
  "message": "Add a buffer to smooth mouse scroll acceleration\n\nSometimes a bluetooth mouse will send multiple scroll events in quick\nsuccession when in reality they were generated more slowly. This can\ncause a large spike in scroll velocity. We already make sure that we use\na minimum time delta between events when calculating scroll velocity,\nbut the issue is still noticieable. Increasing this time delta can help,\nbut degrades scroll acceleration when the user intends to scorll fast.\n\nIn this CL, we add a small buffer of scroll events that we use to\ncalculate scroll velocity for the purpose of scroll acceleration.  This\nallows us to accelerate scrolls appropriately when the user is\nconsistently scrolling quickly, without spurious spikes in acceleration\nwhen we receive batched bluetooth events.\n\nBUG\u003db:232137263\nTEST\u003dmanual testing, check for degredation in unittests and\ntouchpad-tests, add touchpad-tests regression test.\n\nCq-Depend: chromium:5159508\nChange-Id: I4b72fc0a2649dfc6628008668484e624f335a5e6\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/gestures/+/5159108\nReviewed-by: Kenneth Albanowski \u003ckenalba@google.com\u003e\nCommit-Queue: Sean O\u0027Brien \u003cseobrien@chromium.org\u003e\nReviewed-by: Aseda Aboagye \u003caaboagye@chromium.org\u003e\nReviewed-by: Torsha Banerjee \u003ctorsha@google.com\u003e\nTested-by: Sean O\u0027Brien \u003cseobrien@chromium.org\u003e\nCode-Coverage: Zoss \u003czoss-cl-coverage@prod.google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e56be37ab825c7c19d0be6ff50a4434bae4e5e08",
      "old_mode": 33188,
      "old_path": "include/mouse_interpreter.h",
      "new_id": "d1e12a302b5cc5a335e579382d53c6858e7a8436",
      "new_mode": 33188,
      "new_path": "include/mouse_interpreter.h"
    },
    {
      "type": "modify",
      "old_id": "6ed44e7c429bd056abfe74a4ad9f452f1e7810d1",
      "old_mode": 33188,
      "old_path": "src/mouse_interpreter.cc",
      "new_id": "a281a9a8f9bc629d8104317a7ad58c47efdb4b5e",
      "new_mode": 33188,
      "new_path": "src/mouse_interpreter.cc"
    },
    {
      "type": "modify",
      "old_id": "57267d84538e19650fc4ea8dfbc903accaf2abb9",
      "old_mode": 33188,
      "old_path": "src/mouse_interpreter_unittest.cc",
      "new_id": "520a45560c038c4130ac0c15db49dedfb99ba8ab",
      "new_mode": 33188,
      "new_path": "src/mouse_interpreter_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "8340e7b18a74a91ef4085ad092cd9b751bf16126",
      "old_mode": 33188,
      "old_path": "tools/touchtests-report.json",
      "new_id": "145f6aa5bcfbe0e1681d6891e0ad227ee0ab1afb",
      "new_mode": 33188,
      "new_path": "tools/touchtests-report.json"
    }
  ]
}
