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.
D. Schlör, J. Pfister, and A. Hotho. 2023 the 7th International Conference on Medical and Health Informatics (ICMHI), page 136–141. New York, NY, USA, Association for Computing Machinery, (2023)
Y. Lu, J. Li, X. Wang, H. Shi, T. Chen, and S. Tang. Findings of the Association for Computational Linguistics: EMNLP 2023, page 7447--7457. Singapore, Association for Computational Linguistics, (December 2023)