qmk-firmware/drivers/backlight
..
backlight_software.c