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