## tl;dr
Are there callbacks or triggers that I can use for when a game is launched on RetroPie and for when a user returns to EmulationStation from a game?
## My setup
* [RetroPie-Setup](https://github.com/retropie/RetroPie-Setup)
* rasberry pi b+
* x-arcade dual joystick (x 2)
## Why I need the callback
On game launch, I want to trigger some RGB buttons to change color according to the game’s specific controller set up. I would also like to trigger a button map to show the game’s mapping (on a second screen).
## Is this a EmulationStation job?
Is this actually something that should be programmed into EmulationStation and not RetroPie?
thank you,
Scott
I put a similar question in the EmulationStation Issues on github:
https://github.com/Aloshi/EmulationStation/issues/302