feat: Add Trapezoid to LED Layout (#791)

* Update schema-ledConfig.json

extend schema with corner points (vertcal and horizontal values in percent)

* Update conf_leds.html

input fields for corner points

* Update content_leds.js

add corner values and calculation of led rows

* Update de.json

german title for corners

* CHanges 26.12.2019 Correction and PowerOff add

* GrabberFix PiCam

* VType as QString

* Unused variable deletet

* Missing new paramneters for GrabberFix

* Error json

* JSon error by user

* Crosscompile SutnikElf frok

* Warning unused variable

* Revert "Crosscompile SutnikElf frok"

This reverts commit 443fe80090.

* Fixing a linting error

* Adding Grabber Override Names

* Adding more Grabber Fix translations

* Missed one

* remove V4L2 Grabber Fix and Power Button from Dashboard

Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>

* Setting some limits to the trapezoid

Co-authored-by: SputnikElf <58911932+SputnikElf@users.noreply.github.com>
Co-authored-by: SputnikElf <sputnikelf@gmx.de>
Co-authored-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
Ben Williams
2020-05-19 23:36:52 -07:00
committed by GitHub
parent a38502b8fe
commit 4aebd55715
10 changed files with 445 additions and 312 deletions

View File

@@ -18,8 +18,8 @@
<file alias="schema-logging">JSONRPC_schema/schema-logging.json</file>
<file alias="schema-processing">JSONRPC_schema/schema-processing.json</file>
<file alias="schema-videomode">JSONRPC_schema/schema-videomode.json</file>
<file alias="schema-authorize">JSONRPC_schema/schema-authorize.json</file>
<file alias="schema-instance">JSONRPC_schema/schema-instance.json</file>
<file alias="schema-authorize">JSONRPC_schema/schema-authorize.json</file>
<file alias="schema-instance">JSONRPC_schema/schema-instance.json</file>
<!-- The following schemas are derecated but used to ensure backward compatibility with hyperion Classic remote control-->
<file alias="schema-transform">JSONRPC_schema/schema-hyperion-classic.json</file>
<file alias="schema-correction">JSONRPC_schema/schema-hyperion-classic.json</file>

View File

@@ -1,122 +1,149 @@
{
"type" : "object",
"properties" :
{
"classic" :
{
"type":"object",
"required" : true,
"properties":
{
"top" :
{
"type" : "integer",
"minimum" : 0,
"default" : 8
"type": "object",
"properties": {
"classic": {
"type": "object",
"required": true,
"properties": {
"top": {
"type": "integer",
"minimum": 0,
"default": 8
},
"bottom" :
{
"type" : "integer",
"minimum" : 0,
"default" : 8
"bottom": {
"type": "integer",
"minimum": 0,
"default": 8
},
"left" :
{
"type" : "integer",
"minimum" : 0,
"default" : 5
"left": {
"type": "integer",
"minimum": 0,
"default": 5
},
"right" :
{
"type" : "integer",
"minimum" : 0,
"default" : 5
"right": {
"type": "integer",
"minimum": 0,
"default": 5
},
"glength" :
{
"type" : "integer",
"minimum" : 0,
"default" : 0
"glength": {
"type": "integer",
"minimum": 0,
"default": 0
},
"gpos" :
{
"type" : "integer",
"minimum" : 0,
"default" : 0
"gpos": {
"type": "integer",
"minimum": 0,
"default": 0
},
"position" :
{
"type" : "integer",
"default" : 0
"position": {
"type": "integer",
"default": 0
},
"reverse" :
{
"type" : "boolean",
"default" : false
"reverse": {
"type": "boolean",
"default": false
},
"hdepth" :
{
"type" : "integer",
"minimum" : 1,
"maximum" : 100,
"default" : 8
"hdepth": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 8
},
"vdepth" :
{
"type" : "integer",
"minimum" : 1,
"maximum" : 100,
"default" : 5
"vdepth": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 5
},
"overlap" :
{
"type" : "integer",
"minimum" : 0,
"default" : 0
"overlap": {
"type": "integer",
"minimum": 0,
"default": 0
},
"edgegap" :
{
"type" : "integer",
"minimum" : 0,
"maximum" : 50,
"default" : 0
"edgegap": {
"type": "integer",
"minimum": 0,
"maximum": 50,
"default": 0
},
"ptlh": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"ptlv": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"ptrh": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"ptrv": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"pblh": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"pblv": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"pbrh": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
},
"pbrv": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 0
}
},
"additionalProperties" : false
"additionalProperties": false
},
"matrix" :
{
"type":"object",
"required" : true,
"properties":
{
"ledshoriz" :
{
"type" : "integer",
"minimum" : 0,
"maximum" : 50,
"default" : 0
"matrix": {
"type": "object",
"required": true,
"properties": {
"ledshoriz": {
"type": "integer",
"minimum": 0,
"maximum": 50,
"default": 0
},
"ledsvert" :
{
"type" : "integer",
"minimum" : 0,
"maximum" : 50,
"default" : 0
"ledsvert": {
"type": "integer",
"minimum": 0,
"maximum": 50,
"default": 0
},
"cabling" :
{
"cabling": {
"type": "string",
"enum" : ["snake", "parallel"]
},
"start" :
{
"enum": ["snake", "parallel"]
},
"start": {
"type": "string",
"enum" : ["top-left", "top-right", "bottom-left", "bottom-right"]
}
"enum": ["top-left", "top-right", "bottom-left", "bottom-right"]
}
},
"additionalProperties" : false
"additionalProperties": false
}
},
"additionalProperties" : true
"additionalProperties": true
}