I think the OP was talking about something more like frostpunk's keyboard lighting, changing based on things happening in game. This is not done by the makers of the keyboard driver, but by the game developers if they choose to implement it. I don't know how much work it takes, but it does fall on them if they want to.