Double function on one buttom

I want to have a double function on 1 pushbuttom:
short push = light on/off
long push = all off

how to do this with a VMB4RYNO?

This feature is related to the input module, not the relay module and should be configured in Velbuslink.