@mitu the method is still in config.txt so I guess it refers to Raspi OS as you said.

For the touchscreen it uses a command in the file usr/share/X11/xorg.conf.d/40-libinput.conf

Thank you @mitu

I will have to chase an older model pi. Now I regret not buying the 3b that I saw gathering dust at one shop a couple of months ago.