I am currently using a Logitech G13 to play Star Trek Online. Without any action on my part, the G13 seems to be aware of whether I am playing on a surface map or a space map. On surface maps, I get a health bar and a shield bar; in space, it shows a hull bar, plus four separate shield bars - one for each facing.
I use two different control sets (selected with the long, thin buttons under the LCD), each with different keymappings. The device obviously knows which environment I'm playing in, because it changes the LCD. Is there a way to make it change the control set to match?