How to Increase the max touchpoint from 16 to 50

65 views
Skip to first unread message

sachin kumar

unread,
Nov 16, 2022, 3:07:41 PM11/16/22
to Chromium-discuss
Hello,

We are building an application that requires 50 touchpoints.
Looking at the source code of chromium, we got to know that the max touchpoint is 16.
Source code: https://github.com/chromium/chromium/blob/a6c7db2b47c174154423c4bf5529250511a4d7dc/third_party/blink/public/common/input/web_touch_event.h#L20

When I try to edit and rebuild this, it is failing due to its logic checking the max touchpoint in multiple places.
For example please refer to the source code: https://github.com/chromium/chromium/blob/a397df4ca9c92fe3dafb210fb47f8c1ea8113e2a/ui/events/blink/blink_event_util.cc#L238

Is there a better way to increase the max touchpoint from 16 to 50?

-Sachin Kumar S
Reply all
Reply to author
Forward
0 new messages