This works for me, however, instead of looking for the device `TPPS/2 Elan Trackpoint`, I had to use the id of `TrackPoint Keyboard 2`. The downside of this fix is that pasting with the middle button does not work anymore.
V. Perri, L. Qarkaxhija, A. Zehe, A. Hotho, and I. Scholtes. Proceedings of the Computational Humanities Research Conference 2022, CHR 2022, Antwerp, Belgium, December 12-14, 2022, volume 3290 of CEUR Workshop Proceedings, page 291--317. CEUR-WS.org, (2022)
Y. Benjamini, R. Heller, and D. Yekutieli. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 367 (1906):
4255--4271(2009)