@@ -802,15 +802,15 @@ TouchCap swipe
|
|||||||
if(swipec>swipedx)
|
if(swipec>swipedx)
|
||||||
{
|
{
|
||||||
// Navigate back based on active status
|
// Navigate back based on active status
|
||||||
if(is_entitypage03==1)
|
if(is_buttonpage03==1)
|
||||||
{
|
{
|
||||||
page entitypage03
|
page buttonpage03
|
||||||
}else if(is_entitypage02==1)
|
}else if(is_buttonpage02==1)
|
||||||
{
|
{
|
||||||
page entitypage02
|
page buttonpage02
|
||||||
}else if(is_entitypage01==1)
|
}else if(is_buttonpage01==1)
|
||||||
{
|
{
|
||||||
page entitypage01
|
page buttonpage01
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
page home
|
page home
|
||||||
@@ -830,14 +830,14 @@ TouchCap swipe
|
|||||||
// From Up to Down
|
// From Up to Down
|
||||||
if(swipec>100)
|
if(swipec>100)
|
||||||
{
|
{
|
||||||
if(is_entitypage03==1&&is_entitypage02==1)
|
if(is_buttonpage03==1&&is_buttonpage02==1)
|
||||||
{
|
{
|
||||||
page entitypage02
|
page buttonpage02
|
||||||
}else if(is_entitypage03==1||is_entitypage02==1)
|
}else if(is_buttonpage03==1||is_buttonpage02==1)
|
||||||
{
|
{
|
||||||
if(is_entitypage01==1)
|
if(is_buttonpage01==1)
|
||||||
{
|
{
|
||||||
page entitypage01
|
page buttonpage01
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
page home
|
page home
|
||||||
@@ -852,15 +852,15 @@ TouchCap swipe
|
|||||||
if(swipec<-100)
|
if(swipec<-100)
|
||||||
{
|
{
|
||||||
// Navigate back up the sequence based on active status
|
// Navigate back up the sequence based on active status
|
||||||
if(is_entitypage01==1)
|
if(is_buttonpage01==1)
|
||||||
{
|
{
|
||||||
page entitypage01
|
page buttonpage01
|
||||||
}else if(is_entitypage02==1)
|
}else if(is_buttonpage02==1)
|
||||||
{
|
{
|
||||||
page entitypage02
|
page buttonpage02
|
||||||
}else if(is_entitypage03==1)
|
}else if(is_buttonpage03==1)
|
||||||
{
|
{
|
||||||
page entitypage03
|
page buttonpage03
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
page home
|
page home
|
||||||
|
|||||||
@@ -374,6 +374,10 @@ TouchCap swipe
|
|||||||
swipestore.en=1 // Start swipestore timer
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
Touch Release Event
|
Touch Release Event
|
||||||
|
if(api==0)
|
||||||
|
{
|
||||||
|
page home
|
||||||
|
}
|
||||||
swipestore.en=0
|
swipestore.en=0
|
||||||
// Touch has ended, x
|
// Touch has ended, x
|
||||||
if(tch0==0)
|
if(tch0==0)
|
||||||
@@ -425,7 +429,7 @@ TouchCap swipe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Down to Up
|
// Down to Up
|
||||||
swipec=0-swipedy
|
swipec2=0-swipedy
|
||||||
if(swipec<-100)
|
if(swipec<-100)
|
||||||
{
|
{
|
||||||
if(is_entitypage02==1) // Check if entitypage02 is active
|
if(is_entitypage02==1) // Check if entitypage02 is active
|
||||||
|
|||||||
@@ -374,6 +374,10 @@ TouchCap swipe
|
|||||||
swipestore.en=1 // Start swipestore timer
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
Touch Release Event
|
Touch Release Event
|
||||||
|
if(api==0)
|
||||||
|
{
|
||||||
|
page home
|
||||||
|
}
|
||||||
swipestore.en=0
|
swipestore.en=0
|
||||||
// Touch has ended, x
|
// Touch has ended, x
|
||||||
if(tch0==0)
|
if(tch0==0)
|
||||||
@@ -431,7 +435,7 @@ TouchCap swipe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Down to Up
|
// Down to Up
|
||||||
swipec=0-swipedy
|
swipec2=0-swipedy
|
||||||
if(swipec<-100)
|
if(swipec<-100)
|
||||||
{
|
{
|
||||||
if(is_entitypage03==1&&is_entitypage04==1)
|
if(is_entitypage03==1&&is_entitypage04==1)
|
||||||
|
|||||||
@@ -374,6 +374,10 @@ TouchCap swipe
|
|||||||
swipestore.en=1 // Start swipestore timer
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
Touch Release Event
|
Touch Release Event
|
||||||
|
if(api==0)
|
||||||
|
{
|
||||||
|
page home
|
||||||
|
}
|
||||||
swipestore.en=0
|
swipestore.en=0
|
||||||
// Touch has ended, x
|
// Touch has ended, x
|
||||||
if(tch0==0)
|
if(tch0==0)
|
||||||
@@ -425,7 +429,7 @@ TouchCap swipe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Down to Up
|
// Down to Up
|
||||||
swipec=0-swipedy
|
swipec2=0-swipedy
|
||||||
if(swipec<-100)
|
if(swipec<-100)
|
||||||
{
|
{
|
||||||
if(is_entitypage04==1)
|
if(is_entitypage04==1)
|
||||||
|
|||||||
@@ -374,6 +374,10 @@ TouchCap swipe
|
|||||||
swipestore.en=1 // Start swipestore timer
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
Touch Release Event
|
Touch Release Event
|
||||||
|
if(api==0)
|
||||||
|
{
|
||||||
|
page home
|
||||||
|
}
|
||||||
swipestore.en=0
|
swipestore.en=0
|
||||||
// Touch has ended, x
|
// Touch has ended, x
|
||||||
if(tch0==0)
|
if(tch0==0)
|
||||||
@@ -429,7 +433,7 @@ TouchCap swipe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Down to Up
|
// Down to Up
|
||||||
swipec=0-swipedy
|
swipec2=0-swipedy
|
||||||
if(swipec<-100)
|
if(swipec<-100)
|
||||||
{
|
{
|
||||||
// Navigate back up the sequence based on active status
|
// Navigate back up the sequence based on active status
|
||||||
|
|||||||
@@ -374,6 +374,10 @@ TouchCap swipe
|
|||||||
swipestore.en=1 // Start swipestore timer
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
Touch Release Event
|
Touch Release Event
|
||||||
|
if(api==0)
|
||||||
|
{
|
||||||
|
page home
|
||||||
|
}
|
||||||
swipestore.en=0
|
swipestore.en=0
|
||||||
// Touch has ended, x
|
// Touch has ended, x
|
||||||
if(tch0==0)
|
if(tch0==0)
|
||||||
@@ -425,7 +429,7 @@ TouchCap swipe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Down to Up
|
// Down to Up
|
||||||
swipec=0-swipedy
|
swipec2=0-swipedy
|
||||||
if(swipec<-100)
|
if(swipec<-100)
|
||||||
{
|
{
|
||||||
if(is_entitypage02==1) // Check if entitypage02 is active
|
if(is_entitypage02==1) // Check if entitypage02 is active
|
||||||
|
|||||||
@@ -374,6 +374,10 @@ TouchCap swipe
|
|||||||
swipestore.en=1 // Start swipestore timer
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
Touch Release Event
|
Touch Release Event
|
||||||
|
if(api==0)
|
||||||
|
{
|
||||||
|
page home
|
||||||
|
}
|
||||||
swipestore.en=0
|
swipestore.en=0
|
||||||
// Touch has ended, x
|
// Touch has ended, x
|
||||||
if(tch0==0)
|
if(tch0==0)
|
||||||
@@ -431,7 +435,7 @@ TouchCap swipe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Down to Up
|
// Down to Up
|
||||||
swipec=0-swipedy
|
swipec2=0-swipedy
|
||||||
if(swipec<-100)
|
if(swipec<-100)
|
||||||
{
|
{
|
||||||
if(is_entitypage03==1&&is_entitypage04==1)
|
if(is_entitypage03==1&&is_entitypage04==1)
|
||||||
|
|||||||
@@ -374,6 +374,10 @@ TouchCap swipe
|
|||||||
swipestore.en=1 // Start swipestore timer
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
Touch Release Event
|
Touch Release Event
|
||||||
|
if(api==0)
|
||||||
|
{
|
||||||
|
page home
|
||||||
|
}
|
||||||
swipestore.en=0
|
swipestore.en=0
|
||||||
// Touch has ended, x
|
// Touch has ended, x
|
||||||
if(tch0==0)
|
if(tch0==0)
|
||||||
@@ -425,7 +429,7 @@ TouchCap swipe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Down to Up
|
// Down to Up
|
||||||
swipec=0-swipedy
|
swipec2=0-swipedy
|
||||||
if(swipec<-100)
|
if(swipec<-100)
|
||||||
{
|
{
|
||||||
if(is_entitypage04==1)
|
if(is_entitypage04==1)
|
||||||
|
|||||||
@@ -374,6 +374,10 @@ TouchCap swipe
|
|||||||
swipestore.en=1 // Start swipestore timer
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
Touch Release Event
|
Touch Release Event
|
||||||
|
if(api==0)
|
||||||
|
{
|
||||||
|
page home
|
||||||
|
}
|
||||||
swipestore.en=0
|
swipestore.en=0
|
||||||
// Touch has ended, x
|
// Touch has ended, x
|
||||||
if(tch0==0)
|
if(tch0==0)
|
||||||
@@ -429,7 +433,7 @@ TouchCap swipe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Down to Up
|
// Down to Up
|
||||||
swipec=0-swipedy
|
swipec2=0-swipedy
|
||||||
if(swipec<-100)
|
if(swipec<-100)
|
||||||
{
|
{
|
||||||
// Navigate back up the sequence based on active status
|
// Navigate back up the sequence based on active status
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user