diff options
author | Hans de Goede <[email protected]> | 2014-07-25 22:41:51 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2014-07-26 14:03:15 -0700 |
commit | 105affbfd588d5aec4171234051f7d589f7e62c1 (patch) | |
tree | 375537f5cc293c97cc2974fb3ad15a4382aa741d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 036e6c7b541a9a57b4e294ee4727045d81f68ca0 (diff) |
Input: alps - process_bitmap: fix counting of high point bits
alps_process_bitmap was resetting the point bit-count as soon as it saw
2 0 bits in a row. This means that unless the high point actually is at
the end of the bitmap, it would always get its num_bits set to 0.
Instead reset num_bits to 0 on a 0->1 transition, so that with > 2 fingers
we only count the number of bits occupied by the highest finger.
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions