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.
R. Okuta, Y. Unno, D. Nishino, S. Hido, and C. Loomis. Proceedings of Workshop on Machine Learning Systems (LearningSys) in The Thirty-first Annual Conference on Neural Information Processing Systems (NIPS), (2017)
R. West, A. Paranjape, and J. Leskovec. Proceedings of the 24th International Conference on World Wide Web, page 1242--1252. New York, NY, USA, ACM, (2015)
X. Hu, W. Liu, J. Bian, and J. Pei. Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, page 1521--1531. (2020)
C. Martınez. Proc. 6th ACMSIAM Workshop on Algorithm Engineering and Experiments and 1st ACM-SIAM Workshop on Analytic Algorithmics and Combinatorics, page 224--228. (2004)