Implement smart-button-like actions

I own a couple of Friends of Hue buttons (they’re adapters actually, but it runs the same firmware).

What I’m trying to achieve, but are failing to do, is resemble the functionality of the Philips Smart Button with regard to dimming.

Press-and-hold: dim down
Quickly release and press-and-hold again: dim up.

So it basically allows toggling between increasing and decreasing the brightness with just one button. Can I configure this with Hue Essentials?