History log of /src/sys/dev/evdev/evdev_mt.c (Results 1 – 25 of 72)
Revision Date Author Comments
# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# d99c87c8 15-Sep-2021 John Baldwin <jhb@FreeBSD.org>

evdev: Add parentheses around '-' expression in operand of '&'.

This fixes a -Wparentheses error with GCC 9.

Reviewed by: wulf
Differential Revision: https://reviews.freebsd.org/D31947


# 35bc295b 02-Sep-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Do not export multitouch functions which are unused outside evdev


# d056693d 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Add support for automatic MT protocol type A to type B conversion.

MFC after: 2 weeks


# f76051c7 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Add implicit mode for touch tracking.

In implicit mode assignment of slot number and tracking id is performed
automatically on each synchronization requested by device driver.

This is done w

evdev: Add implicit mode for touch tracking.

In implicit mode assignment of slot number and tracking id is performed
automatically on each synchronization requested by device driver.

This is done with creation of intermediate buffer for multitouch events.
This buffer holds untracked events until synchronization is requested by
device driver. It is needed as touch assigment requires
knowledges of all touch positions pushed in current and previous reports.

MFC after: 2 weeks

show more ...


# 4c0a134e 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Import support for touch-tracking.

Touch tracking is a process of assignment of unique trackingID to each
initiated contact on the surface. Keeping the trackingIDs persistent
across multitou

evdev: Import support for touch-tracking.

Touch tracking is a process of assignment of unique trackingID to each
initiated contact on the surface. Keeping the trackingIDs persistent
across multitouch reports requires solving of so called Euclidian
Bipartite Matching problem.

This commit imports EBM-solver implementation based on Dinitz-Kronrod
algorithm to find minimum cost matching between contacts listed in two
consecutive reports.

Obtained from: OpenBSD
MFC after: 2 weeks

show more ...


# 66bd52f5 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Make MT tracking IDs monotonically increasing sequence.

MFC after: 2 weeks


# 05936028 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Give short aliases to items of evdev_mt_slot array

with using of unioned anonymous structure.

Access to the same data by using different members of union generally
works despite it is not su

evdev: Give short aliases to items of evdev_mt_slot array

with using of unioned anonymous structure.

Access to the same data by using different members of union generally
works despite it is not supported by C specs.

Also add helper function to report entire slot state.

MFC after: 2 weeks

show more ...


# 127e54de 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Normalize width and pressure of single touch compat events

to match Synaptics touchpad reporting range.

MFC after: 2 weeks


# 314913ed 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

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 procesin

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

show more ...


# fbe17f90 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Send first active rather than 0-th slot state as ST report

MFC after: 2 weeks


# 2dc7188e 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Use bitsets to track active touches and slots changed in current report

Obtained from: OpenBSD

MFC after: 2 weeks


# 98a7606b 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Multitouch code style changes.

1. Move touch count reporting helpers to utils. They are not multitouch.
2. Use evdev_mt prefix for private multitouch support routines.
3. Use int instead of i

evdev: Multitouch code style changes.

1. Move touch count reporting helpers to utils. They are not multitouch.
2. Use evdev_mt prefix for private multitouch support routines.
3. Use int instead of int32_t where fixed size is not required.
4. Export some internal functions.

This change should be no-op.

MFC after: 2 weeks

show more ...


# 5af73ad5 30-Nov-2020 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Remove useless "initial value" parameter from evdev_support_abs()

It can not be used for setting of state of multitouch events.
If necessary, use evdev_push_event() instead of it.


# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# d99c87c8 15-Sep-2021 John Baldwin <jhb@FreeBSD.org>

evdev: Add parentheses around '-' expression in operand of '&'.

This fixes a -Wparentheses error with GCC 9.

Reviewed by: wulf
Differential Revision: https://reviews.freebsd.org/D31947


# 35bc295b 02-Sep-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Do not export multitouch functions which are unused outside evdev


# d056693d 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Add support for automatic MT protocol type A to type B conversion.

MFC after: 2 weeks


# f76051c7 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Add implicit mode for touch tracking.

In implicit mode assignment of slot number and tracking id is performed
automatically on each synchronization requested by device driver.

This is done w

evdev: Add implicit mode for touch tracking.

In implicit mode assignment of slot number and tracking id is performed
automatically on each synchronization requested by device driver.

This is done with creation of intermediate buffer for multitouch events.
This buffer holds untracked events until synchronization is requested by
device driver. It is needed as touch assigment requires
knowledges of all touch positions pushed in current and previous reports.

MFC after: 2 weeks

show more ...


# 4c0a134e 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Import support for touch-tracking.

Touch tracking is a process of assignment of unique trackingID to each
initiated contact on the surface. Keeping the trackingIDs persistent
across multitou

evdev: Import support for touch-tracking.

Touch tracking is a process of assignment of unique trackingID to each
initiated contact on the surface. Keeping the trackingIDs persistent
across multitouch reports requires solving of so called Euclidian
Bipartite Matching problem.

This commit imports EBM-solver implementation based on Dinitz-Kronrod
algorithm to find minimum cost matching between contacts listed in two
consecutive reports.

Obtained from: OpenBSD
MFC after: 2 weeks

show more ...


# 66bd52f5 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Make MT tracking IDs monotonically increasing sequence.

MFC after: 2 weeks


# 05936028 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Give short aliases to items of evdev_mt_slot array

with using of unioned anonymous structure.

Access to the same data by using different members of union generally
works despite it is not su

evdev: Give short aliases to items of evdev_mt_slot array

with using of unioned anonymous structure.

Access to the same data by using different members of union generally
works despite it is not supported by C specs.

Also add helper function to report entire slot state.

MFC after: 2 weeks

show more ...


# 127e54de 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Normalize width and pressure of single touch compat events

to match Synaptics touchpad reporting range.

MFC after: 2 weeks


# 314913ed 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

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 procesin

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

show more ...


# fbe17f90 24-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

evdev: Send first active rather than 0-th slot state as ST report

MFC after: 2 weeks


123