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.
T. Lanciano, F. Bonchi, and A. Gionis. Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, page 3308--3318. (2020)
A. Belfodil, A. Belfodil, and M. Kaytoue. Joint European Conference on Machine Learning and Knowledge Discovery in Databases, page 500--516. Springer, (2018)