evdev: force no fuzz for autogenerated single touch compat events.
As fuzz has already been applied on multitouch event processing. This allows to remove existing workaround for double fuzz procesing. MFC after: 2 weeks
This commit is contained in:
parent
fbe17f9017
commit
314913ed7c
@ -876,6 +876,7 @@ evdev_send_event(struct evdev_dev *evdev, uint16_t type, uint16_t code,
|
||||
|
||||
EVDEV_LOCK_ASSERT(evdev);
|
||||
|
||||
evdev_modify_event(evdev, type, code, &value);
|
||||
sparse = evdev_sparse_event(evdev, type, code, value);
|
||||
switch (sparse) {
|
||||
case EV_REPORT_MT_SLOT:
|
||||
@ -939,7 +940,6 @@ evdev_push_event(struct evdev_dev *evdev, uint16_t type, uint16_t code,
|
||||
evdev_restore_after_kdb(evdev);
|
||||
}
|
||||
|
||||
evdev_modify_event(evdev, type, code, &value);
|
||||
if (type == EV_SYN && code == SYN_REPORT &&
|
||||
bit_test(evdev->ev_abs_flags, ABS_MT_SLOT))
|
||||
evdev_mt_sync_frame(evdev);
|
||||
|
@ -196,7 +196,7 @@ evdev_support_mt_compat(struct evdev_dev *evdev)
|
||||
evdev_support_abs(evdev, evdev_mtstmap[i][1],
|
||||
evdev->ev_absinfo[evdev_mtstmap[i][0]].minimum,
|
||||
evdev->ev_absinfo[evdev_mtstmap[i][0]].maximum,
|
||||
evdev->ev_absinfo[evdev_mtstmap[i][0]].fuzz,
|
||||
0,
|
||||
evdev->ev_absinfo[evdev_mtstmap[i][0]].flat,
|
||||
evdev->ev_absinfo[evdev_mtstmap[i][0]].resolution);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user