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.
A. Ehrmanntraut, L. Konle, и F. Jannidis. Proceedings of the 19th Conference on Natural Language Processing (KONVENS 2023), стр. 28--39. Ingolstadt, Germany, Association for Computational Lingustics, (сентября 2023)