adapt backlight driver from gproj