Key lighting

Im trying to get my Logitech G910 Led's to work together with Notruf 112.
But im wondering if there's a way to check if the bluelights/sirens are on in the C++ language.
something like SIREN_ON
My idea was to make the buttons like blue lights, sirens and blinkers flash when they are activated.
So my question was if something like this is possible.