Keyboard backlight

The objective here is to turn on the keyboard backlight along with the button backlight *if* the keyboard is open, and to turn it off always when the button backlight is turned off.