So ive managed to get my macbook air 2012 backlit keyboard to have a breathing effect. This is done by writing values from 0-255 to the applesmc driver which controls the keyboard backlight