@@ -60,6 +60,7 @@ wifi:
|
|||||||
8. Support to `remote`
|
8. Support to `remote`
|
||||||
9. Home page chips now supports covers
|
9. Home page chips now supports covers
|
||||||
10. Chips can be inverted
|
10. Chips can be inverted
|
||||||
|
11. Add swipe control to screensaver page
|
||||||
|
|
||||||
|
|
||||||
## Details of noteworthy changes
|
## Details of noteworthy changes
|
||||||
@@ -125,6 +126,10 @@ Chips now include cover visualization, allowing for easy monitoring of covers di
|
|||||||
### 10. Chips can be inverted
|
### 10. Chips can be inverted
|
||||||
Chips now have an 'invert' option on the blueprint settings, providing additional customization flexibility.
|
Chips now have an 'invert' option on the blueprint settings, providing additional customization flexibility.
|
||||||
|
|
||||||
|
|
||||||
|
### 11. Add swipe control to Screensaver page
|
||||||
|
You can now navigate to button pages from the screensaver while your panel is in sleep mode. The swipe controls will function as they do on the Home page.
|
||||||
|
|
||||||
|
|
||||||
## What's Next?
|
## What's Next?
|
||||||
Discover what's next and what we are working on right now in our [Milestones](https://github.com/Blackymas/NSPanel_HA_Blueprint/milestones?direction=asc&sort=due_date)
|
Discover what's next and what we are working on right now in our [Milestones](https://github.com/Blackymas/NSPanel_HA_Blueprint/milestones?direction=asc&sort=due_date)
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -24,6 +24,18 @@ Variable (int32) orign
|
|||||||
Scope: local
|
Scope: local
|
||||||
Value: 0
|
Value: 0
|
||||||
|
|
||||||
|
Timer swipestore
|
||||||
|
Attributes
|
||||||
|
ID : 4
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 50
|
||||||
|
Enabled : no
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
swipex=tch0
|
||||||
|
swipey=tch1
|
||||||
|
|
||||||
TouchCap wakeup
|
TouchCap wakeup
|
||||||
Attributes
|
Attributes
|
||||||
ID : 1
|
ID : 1
|
||||||
@@ -34,3 +46,48 @@ TouchCap wakeup
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
page orign.val
|
page orign.val
|
||||||
|
|
||||||
|
TouchCap swipe
|
||||||
|
Attributes
|
||||||
|
ID : 3
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
|
Touch Release Event
|
||||||
|
swipestore.en=0
|
||||||
|
// Touch has ended, x
|
||||||
|
if(tch0==0)
|
||||||
|
{
|
||||||
|
swipec=swipex-tch2
|
||||||
|
// From Left to Right
|
||||||
|
if(swipec>swipedx&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage04
|
||||||
|
}
|
||||||
|
// Right to Left
|
||||||
|
swipec2=0-swipedx
|
||||||
|
if(swipec<swipec2&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage01
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Touch has ended, y
|
||||||
|
if(tch1==0)
|
||||||
|
{
|
||||||
|
swipec=swipey-tch3
|
||||||
|
// From Up to Down
|
||||||
|
if(swipec>100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage02
|
||||||
|
}
|
||||||
|
// Down to Up
|
||||||
|
swipec2=0-swipedy
|
||||||
|
if(swipec<-100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage03
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -24,6 +24,18 @@ Variable (int32) orign
|
|||||||
Scope: local
|
Scope: local
|
||||||
Value: 0
|
Value: 0
|
||||||
|
|
||||||
|
Timer swipestore
|
||||||
|
Attributes
|
||||||
|
ID : 4
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 50
|
||||||
|
Enabled : no
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
swipex=tch0
|
||||||
|
swipey=tch1
|
||||||
|
|
||||||
TouchCap wakeup
|
TouchCap wakeup
|
||||||
Attributes
|
Attributes
|
||||||
ID : 1
|
ID : 1
|
||||||
@@ -34,3 +46,48 @@ TouchCap wakeup
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
page orign.val
|
page orign.val
|
||||||
|
|
||||||
|
TouchCap swipe
|
||||||
|
Attributes
|
||||||
|
ID : 3
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
|
Touch Release Event
|
||||||
|
swipestore.en=0
|
||||||
|
// Touch has ended, x
|
||||||
|
if(tch0==0)
|
||||||
|
{
|
||||||
|
swipec=swipex-tch2
|
||||||
|
// From Left to Right
|
||||||
|
if(swipec>swipedx&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage04
|
||||||
|
}
|
||||||
|
// Right to Left
|
||||||
|
swipec2=0-swipedx
|
||||||
|
if(swipec<swipec2&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage01
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Touch has ended, y
|
||||||
|
if(tch1==0)
|
||||||
|
{
|
||||||
|
swipec=swipey-tch3
|
||||||
|
// From Up to Down
|
||||||
|
if(swipec>100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage02
|
||||||
|
}
|
||||||
|
// Down to Up
|
||||||
|
swipec2=0-swipedy
|
||||||
|
if(swipec<-100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage03
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -24,6 +24,18 @@ Variable (int32) orign
|
|||||||
Scope: local
|
Scope: local
|
||||||
Value: 0
|
Value: 0
|
||||||
|
|
||||||
|
Timer swipestore
|
||||||
|
Attributes
|
||||||
|
ID : 4
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 50
|
||||||
|
Enabled : no
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
swipex=tch0
|
||||||
|
swipey=tch1
|
||||||
|
|
||||||
TouchCap wakeup
|
TouchCap wakeup
|
||||||
Attributes
|
Attributes
|
||||||
ID : 1
|
ID : 1
|
||||||
@@ -34,3 +46,48 @@ TouchCap wakeup
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
page orign.val
|
page orign.val
|
||||||
|
|
||||||
|
TouchCap swipe
|
||||||
|
Attributes
|
||||||
|
ID : 3
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
|
Touch Release Event
|
||||||
|
swipestore.en=0
|
||||||
|
// Touch has ended, x
|
||||||
|
if(tch0==0)
|
||||||
|
{
|
||||||
|
swipec=swipex-tch2
|
||||||
|
// From Left to Right
|
||||||
|
if(swipec>swipedx&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage04
|
||||||
|
}
|
||||||
|
// Right to Left
|
||||||
|
swipec2=0-swipedx
|
||||||
|
if(swipec<swipec2&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage01
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Touch has ended, y
|
||||||
|
if(tch1==0)
|
||||||
|
{
|
||||||
|
swipec=swipey-tch3
|
||||||
|
// From Up to Down
|
||||||
|
if(swipec>100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage02
|
||||||
|
}
|
||||||
|
// Down to Up
|
||||||
|
swipec2=0-swipedy
|
||||||
|
if(swipec<-100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage03
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -24,6 +24,18 @@ Variable (int32) orign
|
|||||||
Scope: local
|
Scope: local
|
||||||
Value: 0
|
Value: 0
|
||||||
|
|
||||||
|
Timer swipestore
|
||||||
|
Attributes
|
||||||
|
ID : 4
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 50
|
||||||
|
Enabled : no
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
swipex=tch0
|
||||||
|
swipey=tch1
|
||||||
|
|
||||||
TouchCap wakeup
|
TouchCap wakeup
|
||||||
Attributes
|
Attributes
|
||||||
ID : 1
|
ID : 1
|
||||||
@@ -34,3 +46,48 @@ TouchCap wakeup
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
page orign.val
|
page orign.val
|
||||||
|
|
||||||
|
TouchCap swipe
|
||||||
|
Attributes
|
||||||
|
ID : 3
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
|
Touch Release Event
|
||||||
|
swipestore.en=0
|
||||||
|
// Touch has ended, x
|
||||||
|
if(tch0==0)
|
||||||
|
{
|
||||||
|
swipec=swipex-tch2
|
||||||
|
// From Left to Right
|
||||||
|
if(swipec>swipedx&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage04
|
||||||
|
}
|
||||||
|
// Right to Left
|
||||||
|
swipec2=0-swipedx
|
||||||
|
if(swipec<swipec2&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage01
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Touch has ended, y
|
||||||
|
if(tch1==0)
|
||||||
|
{
|
||||||
|
swipec=swipey-tch3
|
||||||
|
// From Up to Down
|
||||||
|
if(swipec>100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage02
|
||||||
|
}
|
||||||
|
// Down to Up
|
||||||
|
swipec2=0-swipedy
|
||||||
|
if(swipec<-100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage03
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -24,6 +24,18 @@ Variable (int32) orign
|
|||||||
Scope: local
|
Scope: local
|
||||||
Value: 0
|
Value: 0
|
||||||
|
|
||||||
|
Timer swipestore
|
||||||
|
Attributes
|
||||||
|
ID : 4
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 50
|
||||||
|
Enabled : no
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
swipex=tch0
|
||||||
|
swipey=tch1
|
||||||
|
|
||||||
TouchCap wakeup
|
TouchCap wakeup
|
||||||
Attributes
|
Attributes
|
||||||
ID : 1
|
ID : 1
|
||||||
@@ -34,3 +46,48 @@ TouchCap wakeup
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
page orign.val
|
page orign.val
|
||||||
|
|
||||||
|
TouchCap swipe
|
||||||
|
Attributes
|
||||||
|
ID : 3
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
|
Touch Release Event
|
||||||
|
swipestore.en=0
|
||||||
|
// Touch has ended, x
|
||||||
|
if(tch0==0)
|
||||||
|
{
|
||||||
|
swipec=swipex-tch2
|
||||||
|
// From Left to Right
|
||||||
|
if(swipec>swipedx&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage04
|
||||||
|
}
|
||||||
|
// Right to Left
|
||||||
|
swipec2=0-swipedx
|
||||||
|
if(swipec<swipec2&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage01
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Touch has ended, y
|
||||||
|
if(tch1==0)
|
||||||
|
{
|
||||||
|
swipec=swipey-tch3
|
||||||
|
// From Up to Down
|
||||||
|
if(swipec>100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage02
|
||||||
|
}
|
||||||
|
// Down to Up
|
||||||
|
swipec2=0-swipedy
|
||||||
|
if(swipec<-100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage03
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -24,6 +24,18 @@ Variable (int32) orign
|
|||||||
Scope: local
|
Scope: local
|
||||||
Value: 0
|
Value: 0
|
||||||
|
|
||||||
|
Timer swipestore
|
||||||
|
Attributes
|
||||||
|
ID : 4
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 50
|
||||||
|
Enabled : no
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
swipex=tch0
|
||||||
|
swipey=tch1
|
||||||
|
|
||||||
TouchCap wakeup
|
TouchCap wakeup
|
||||||
Attributes
|
Attributes
|
||||||
ID : 1
|
ID : 1
|
||||||
@@ -34,3 +46,48 @@ TouchCap wakeup
|
|||||||
Touch Press Event
|
Touch Press Event
|
||||||
page orign.val
|
page orign.val
|
||||||
|
|
||||||
|
TouchCap swipe
|
||||||
|
Attributes
|
||||||
|
ID : 3
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
swipestore.en=1 // Start swipestore timer
|
||||||
|
|
||||||
|
Touch Release Event
|
||||||
|
swipestore.en=0
|
||||||
|
// Touch has ended, x
|
||||||
|
if(tch0==0)
|
||||||
|
{
|
||||||
|
swipec=swipex-tch2
|
||||||
|
// From Left to Right
|
||||||
|
if(swipec>swipedx&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage04
|
||||||
|
}
|
||||||
|
// Right to Left
|
||||||
|
swipec2=0-swipedx
|
||||||
|
if(swipec<swipec2&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage01
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Touch has ended, y
|
||||||
|
if(tch1==0)
|
||||||
|
{
|
||||||
|
swipec=swipey-tch3
|
||||||
|
// From Up to Down
|
||||||
|
if(swipec>100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage02
|
||||||
|
}
|
||||||
|
// Down to Up
|
||||||
|
swipec2=0-swipedy
|
||||||
|
if(swipec<-100&&api==1)
|
||||||
|
{
|
||||||
|
page buttonpage03
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
nspanel_eu.tft
BIN
nspanel_eu.tft
Binary file not shown.
BIN
nspanel_us.tft
BIN
nspanel_us.tft
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user