Shutdown EON / PI with Power-button?

Hi all,
maybe i am just to blind or stupid. Is there a way to configure the power button on the EON to trigger a clean shutdown of the unit? I am running a normal raspbian OS.
The unit perfectly fine boots up via the main button and you can configure it to switch OLED pages, however i would like to use it, to power the machine down.
Perfect might be an option to push the button short would change OLED pages and pushing the button long would result into triggering shutdown command.
Anybody some advice?


When I hold the button longer than 3 seconds, it does a clean shutdown