From 900b449a5dbe8cbf08c7ad54662b1c3067093356 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 4 Mar 2021 22:23:42 +0200 Subject: Touch: Adjusting long press --- src/ui/touch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ui/touch.c b/src/ui/touch.c index c2a01be2..e3c7b9a1 100644 --- a/src/ui/touch.c +++ b/src/ui/touch.c @@ -104,8 +104,8 @@ static iTouch *find_TouchState_(iTouchState *d, SDL_FingerID id) { return NULL; } -static const uint32_t longPressSpanMs_ = 425; -static const int tapRadiusPt_ = 5; +static const uint32_t longPressSpanMs_ = 500; +static const int tapRadiusPt_ = 10; iLocalDef float distance_Touch_(const iTouch *d) { return length_F3(sub_F3(d->pos[0], d->startPos)); -- cgit v1.2.3