/sys/devices/virtual/backlight is not on 12.3 (was on 12.2)


Trying to get backlight control going on my Macbook Pro. On 12.2 I could run a script that accessed /sys/devices/virtual/backlight/apple_backlight/brightness However, the backlight directory and akk its subdirectories have gone. Does anyone know why or where they have gone please? Or what I can do to control the backlight now?