mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-23 16:04:25 +01:00
added double tap feature for screensaver (add nextion2text)
This commit is contained in:
@@ -51,12 +51,12 @@ cardMedia
|
|||||||
256 Line(s) of event code
|
256 Line(s) of event code
|
||||||
132 Unique line(s) of event code
|
132 Unique line(s) of event code
|
||||||
screensaver
|
screensaver
|
||||||
30 Component(s)
|
31 Component(s)
|
||||||
180 Line(s) of event code
|
183 Line(s) of event code
|
||||||
130 Unique line(s) of event code
|
133 Unique line(s) of event code
|
||||||
|
|
||||||
Total
|
Total
|
||||||
13 Page(s)
|
13 Page(s)
|
||||||
343 Component(s)
|
344 Component(s)
|
||||||
3127 Line(s) of event code
|
3130 Line(s) of event code
|
||||||
835 Unique line(s) of event code
|
837 Unique line(s) of event code
|
||||||
|
|||||||
@@ -88,6 +88,12 @@ Variable (string) tId
|
|||||||
Text :
|
Text :
|
||||||
Max. Text Size: 25
|
Max. Text Size: 25
|
||||||
|
|
||||||
|
Variable (int32) vaTap
|
||||||
|
Attributes
|
||||||
|
ID : 30
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
Number originPage
|
Number originPage
|
||||||
Attributes
|
Attributes
|
||||||
ID : 3
|
ID : 3
|
||||||
@@ -964,7 +970,10 @@ TouchCap tc0
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
tSend.txt="event,buttonPress2,screensaver,bExit"
|
dim=100
|
||||||
|
vaTap.val+=1
|
||||||
|
covx vaTap.val,tTmp.txt,0,0
|
||||||
|
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
|
||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
|
|||||||
Reference in New Issue
Block a user