A better button library!

Maybe an additional question:
have I an easy way to evaluate the time pressed after debounce in

if ( Buttons.shortPress(UP)  ();

I use Buttons.shortPress for change of set points and have 5 seconds before Buttons.longPress.
I would love to increase the set points steps somewhat more if the button is pressed somewhat longer.

That would be great!