OXRS-IO / OXRS-IO-TouchPanel-ESP32-FW

OXRS compatible firmware for WT32-xxx touch screen displays
https://oxrs.io/docs/firmware/touch-panel-esp32.html
BSD 3-Clause "New" or "Revised" License
20 stars 3 forks source link

add cmnd/ payloads for screen and tile removal #42

Closed moinmoin-sh closed 2 years ago

moinmoin-sh commented 2 years ago

new cmnd/ payloads to remove screens and tiles

remove screen:

{
  "screens": [
    { "screen": 2, "action": "remove" }
  ]
}

remove tile:

{
  "tiles": [
    { "screen": 1, "tile": 2, "action": "remove" }
  ]
}

braking change : keyword "disable" for tiles removed new "action" disable / enable tile:

{
  "tiles": [
    { "screen": 1, "tile": 2, "action": "disable" | "enable" }
  ]
}

rules:

closes #33 closes #40