If I’m not mistaken, the way to get “long press” behavior is via a macro using ifGesture ... timeoutIn as seen, for example, in this forum Q&A?
Perhaps it is already answered in the user guide + reference manualmacro cookbook but if so I couldn’t find it (search term of course was “long press”, maybe though the term used there is “postponed”?)
BTW, that macro cookbook that you are referring to is for a long outdated firmware fork of @kareltucek which has long been superseded by regular UHK firmware. The functionality has been merged and improved much further.