Discard relative movement packets outside of [-127, 127] range to
authorsdk <sdk@openbsd.org>
Sat, 23 Jul 2022 05:55:16 +0000 (05:55 +0000)
committersdk <sdk@openbsd.org>
Sat, 23 Jul 2022 05:55:16 +0000 (05:55 +0000)
commitc7b9c400fa549cd649606894aa3902a226957ce8
treeddb968c341358a813fb60c745a3571f0ee13f5f1
parent46e5e1a23004a45f7c91c8f8942f81028bf44632
Discard relative movement packets outside of [-127, 127] range to
prevent cursor jumps when using the trackpoint on some lenovo laptops.

Known affected models:
- Lenovo Thinkpad X13 Gen1
- Lenovo Thinkpad T14(s)
- Lenovo Thinkpad E15 Gen3
- Lenovo A475

With help from stsp@

OK stsp@ miod@ deraadt@ bru@
sys/dev/pckbc/pms.c