Simplify touchevent engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc. This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
This commit is contained in:
@@ -27,19 +27,17 @@ Page entitypage03
|
||||
}
|
||||
|
||||
Touch Press Event
|
||||
printh 92
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"entitypage03\", \"component\": \"touchevent\", \"value\": \"press\"}",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
printh 92
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"entitypage03\", \"component\": \"touchevent\", \"value\": \"release\"}",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
|
||||
Reference in New Issue
Block a user