Touchbar sensivity to avoid mis-touches

Hello,
I'm using Golden Chaos preset along with some custom button for pretexts, screenshotting etc. I would like to learn if there is anyway to add for example hold the button for about 0.5 secs to trigger the actions?
Thanks.