Thanks, that works just fine now! :)
The only issue now is, when EmulationStation starts and the controller is not yet connected, EmulationStation starts with the Welcome No Gamepads Detected message. Then I start the controller and I need to set up the ES Controls again. Is it possible to just read the config from last time as soon as ES detects the controller?