Align swipe engine with entity pages

Solves #1994
This commit is contained in:
Edward Firmo
2024-04-03 10:36:15 +02:00
parent 58c158a426
commit bf2ce54279
13 changed files with 57 additions and 25 deletions

View File

@@ -374,6 +374,10 @@ TouchCap swipe
swipestore.en=1 // Start swipestore timer
Touch Release Event
if(api==0)
{
page home
}
swipestore.en=0
// Touch has ended, x
if(tch0==0)
@@ -425,7 +429,7 @@ TouchCap swipe
}
}
// Down to Up
swipec=0-swipedy
swipec2=0-swipedy
if(swipec<-100)
{
if(is_entitypage02==1) // Check if entitypage02 is active

View File

@@ -374,6 +374,10 @@ TouchCap swipe
swipestore.en=1 // Start swipestore timer
Touch Release Event
if(api==0)
{
page home
}
swipestore.en=0
// Touch has ended, x
if(tch0==0)
@@ -431,7 +435,7 @@ TouchCap swipe
}
}
// Down to Up
swipec=0-swipedy
swipec2=0-swipedy
if(swipec<-100)
{
if(is_entitypage03==1&&is_entitypage04==1)

View File

@@ -374,6 +374,10 @@ TouchCap swipe
swipestore.en=1 // Start swipestore timer
Touch Release Event
if(api==0)
{
page home
}
swipestore.en=0
// Touch has ended, x
if(tch0==0)
@@ -425,7 +429,7 @@ TouchCap swipe
}
}
// Down to Up
swipec=0-swipedy
swipec2=0-swipedy
if(swipec<-100)
{
if(is_entitypage04==1)

View File

@@ -374,6 +374,10 @@ TouchCap swipe
swipestore.en=1 // Start swipestore timer
Touch Release Event
if(api==0)
{
page home
}
swipestore.en=0
// Touch has ended, x
if(tch0==0)
@@ -429,7 +433,7 @@ TouchCap swipe
}
}
// Down to Up
swipec=0-swipedy
swipec2=0-swipedy
if(swipec<-100)
{
// Navigate back up the sequence based on active status