Keyboard backlight controller